diff options
| author | Hans Kristian Rosbach <hk-git@circlestorm.org> | 2026-03-09 14:09:14 +0100 |
|---|---|---|
| committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2026-03-11 15:29:28 +0100 |
| commit | 702db8b849581b0bb47f59c1b1dd887b6349d963 (patch) | |
| tree | f6a2df40d04ae8c0463e9b99b19fe4a05119c03e | |
| parent | 4a9ef0f6edb2803a9c9fe92c89e2578dede86be4 (diff) | |
| download | Project-Tick-702db8b849581b0bb47f59c1b1dd887b6349d963.tar.gz Project-Tick-702db8b849581b0bb47f59c1b1dd887b6349d963.zip | |
Expand codeql testing to run on multiple platforms and two configs.
| -rw-r--r-- | .github/workflows/codeql.yml | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 25fcc6a7b0..052f2ef4b8 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -7,8 +7,8 @@ on: jobs: analyze: - name: Analyze - runs-on: ubuntu-latest + name: CodeQL (${{ matrix.os }}) + runs-on: ${{ matrix.os }} permissions: actions: read contents: read @@ -17,7 +17,11 @@ jobs: strategy: fail-fast: false matrix: - language: [ cpp ] + # https://codeql.github.com/docs/codeql-overview/system-requirements/ + os: + - ubuntu-latest + - macos-latest + - macos-26-intel steps: - name: Checkout @@ -28,13 +32,22 @@ jobs: - name: Initialize CodeQL uses: github/codeql-action/init@v4 with: - languages: ${{ matrix.language }} + languages: cpp queries: +security-and-quality - - name: Autobuild - uses: github/codeql-action/autobuild@v4 + - name: Build default config + shell: bash + run: | + cmake -B build-default -S . + cmake --build build-default -j4 + + - name: Build compat config without optim/strategies, with reduced mem + shell: bash + run: | + cmake -B build-compat -S . -DZLIB_COMPAT=ON -DWITH_NEW_STRATEGIES=OFF -DWITH_OPTIM=OFF -DWITH_REDUCED_MEM=ON + cmake --build build-compat -j4 - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v4 with: - category: "/language:${{ matrix.language }}" + category: "/oss:${{ matrix.os }}" |
