summaryrefslogtreecommitdiff
path: root/neozip/.github/workflows/codeql.yml
diff options
context:
space:
mode:
authorMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-02 19:56:09 +0300
committerMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-02 19:56:09 +0300
commit7fb132859fda54aa96bc9dd46d302b343eeb5a02 (patch)
treeb43ae77d7451fb470a260c03349a1caf2846c5e5 /neozip/.github/workflows/codeql.yml
parentb1e34e861b5d732afe828d58aad2c638135061fd (diff)
parentc2712b8a345191f6ed79558c089777df94590087 (diff)
downloadProject-Tick-7fb132859fda54aa96bc9dd46d302b343eeb5a02.tar.gz
Project-Tick-7fb132859fda54aa96bc9dd46d302b343eeb5a02.zip
Add 'neozip/' from commit 'c2712b8a345191f6ed79558c089777df94590087'
git-subtree-dir: neozip git-subtree-mainline: b1e34e861b5d732afe828d58aad2c638135061fd git-subtree-split: c2712b8a345191f6ed79558c089777df94590087
Diffstat (limited to 'neozip/.github/workflows/codeql.yml')
-rw-r--r--neozip/.github/workflows/codeql.yml54
1 files changed, 54 insertions, 0 deletions
diff --git a/neozip/.github/workflows/codeql.yml b/neozip/.github/workflows/codeql.yml
new file mode 100644
index 0000000000..972c694487
--- /dev/null
+++ b/neozip/.github/workflows/codeql.yml
@@ -0,0 +1,54 @@
+name: CodeQL
+on:
+ workflow_call:
+ workflow_dispatch:
+ schedule:
+ - cron: "27 17 * * 0"
+
+jobs:
+ analyze:
+ name: CodeQL (${{ matrix.os }})
+ runs-on: ${{ matrix.os }}
+ permissions:
+ actions: read
+ contents: read
+ security-events: write
+
+ strategy:
+ fail-fast: false
+ matrix:
+ # https://codeql.github.com/docs/codeql-overview/system-requirements/
+ os:
+ - ubuntu-latest
+ - macos-latest
+ - macos-26-intel
+ - windows-latest
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v6
+ with:
+ show-progress: 'false'
+
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v4
+ with:
+ languages: cpp
+ queries: +security-and-quality
+
+ - name: Build default config
+ shell: bash
+ run: |
+ cmake -B build-default -S . ${{ runner.os == 'Windows' && '-A x64' || '' }}
+ 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 ${{ runner.os == 'Windows' && '-A x64' || '' }}
+ cmake --build build-compat -j4
+
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v4
+ with:
+ category: "/oss:${{ matrix.os }}"