-
Notifications
You must be signed in to change notification settings - Fork 7
42 lines (34 loc) · 970 Bytes
/
codeql-analysis.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
39
40
41
42
name: CodeQL
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
branches: [main]
schedule:
- cron: '18 3 * * 2'
env:
# Path to the solution file relative to the root of the project.
configuration: Debug
platform: x64
solution_file: PapyrusPlugin.sln
jobs:
Analyze:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
show-progress: false
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: cpp
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build debuggable x64 plugin DLL
run: msbuild /m /p:Configuration=${{ env.configuration }} /p:Platform=${{ env.platform }} ${{ env.solution_file }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3