-
-
Notifications
You must be signed in to change notification settings - Fork 17
38 lines (29 loc) · 859 Bytes
/
analyze.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: "Code Analysis"
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
workflow_dispatch:
jobs:
codeql:
runs-on: windows-latest
permissions:
security-events: write
actions: read
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Initialize
uses: github/codeql-action/init@v2
- name: Build
run: |
Import-Module .\.github\Invoke-VisualStudio.ps1
Invoke-VisualStudio2022x64
cmake -S . -B ./build -A x64 -DPWN_BUILD_TOOLKIT=OFF -DPWN_INCLUDE_DISASSEMBLER=OFF -DPWN_BUILD_DOCS=OFF -DPWN_BUILD_TESTING=OFF -DPWN_LOG_USE_COLOR=OFF
cmake --build ./build --verbose --config Debug
- name: Analyze
uses: github/codeql-action/analyze@v2