diff --git a/.github/workflows/linux-ci.yml b/.github/workflows/linux-ci.yml index dd36af024..24a37ecbf 100644 --- a/.github/workflows/linux-ci.yml +++ b/.github/workflows/linux-ci.yml @@ -52,6 +52,11 @@ jobs: submodules: recursive fetch-depth: 0 + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: cpp + - uses: hendrikmuhs/ccache-action@v1.2 - name: Get latest CMake and Ninja @@ -79,6 +84,11 @@ jobs: cmake -B build -GNinja -DCMAKE_BUILD_TYPE=Debug -DMLN_WITH_CLANG_TIDY=ON -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DMLN_WITH_COVERAGE=ON cmake --build build --target mbgl-core mbgl-test-runner mbgl-render-test-runner mbgl-expression-test + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 + with: + category: "/language:cpp" + - name: Archive mbgl-test-runner uses: actions/upload-artifact@v3 with: