Skip to content

fix(scoring): align the CPU-only engine + test reference to the canon… #43

fix(scoring): align the CPU-only engine + test reference to the canon…

fix(scoring): align the CPU-only engine + test reference to the canon… #43

Workflow file for this run

name: CodeQL
on:
push:
branches: [master]
schedule:
- cron: '0 6 * * 1' # every Monday at 06:00 UTC
permissions:
contents: read
security-events: write
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: windows-latest
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
language: [c-cpp, python]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: security-extended
# C/C++ requires a traced build. build_analysis.bat (MSVC only, no CUDA)
# compile-only builds the product's real C sources — GUI, CLI, updater,
# payload/RC4 logic — so the scanner covers the actual application instead
# of a test harness. No test utilities or sample keys are built in CI.
# Python is interpreted; CodeQL scans it without a build step.
- name: Build C sources for analysis
if: matrix.language == 'c-cpp'
shell: cmd
run: |
call build_analysis.bat
if errorlevel 1 exit /b 1
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v3
with:
category: ${{ matrix.language }}