Skip to content

CodeQL

CodeQL #1

Workflow file for this run

name: CodeQL
on:
workflow_dispatch:
jobs:
analyze:
name: Analyze
runs-on: windows-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'cpp' ]
steps:
- uses: actions/[email protected]
- uses: microsoft/setup-msbuild@v1
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Build x86
run: |
mkdir build-x86
cd build-x86
cmake ..\ -A Win32 "-DCMAKE_SYSTEM_VERSION=10.0.19041.0" -DVERSION_BUILD=${{ github.run_number }}
cmake --build . --config Release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3