-
Notifications
You must be signed in to change notification settings - Fork 131
40 lines (31 loc) · 870 Bytes
/
codeql.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
name: CodeQL
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
SOLUTION_FILE_PATH: ./uefi-ntfs.sln
BUILD_CONFIGURATION: Debug
TARGET_PLATFORM: x64
jobs:
CodeQL-Build:
runs-on: windows-latest
permissions:
security-events: write
steps:
- name: Check out repository and submodules
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: cpp
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1
- name: Build UEFI bootloader
run: msbuild ${{ env.SOLUTION_FILE_PATH }} /m /p:Configuration=${{ env.BUILD_CONFIGURATION }},Platform=${{ env.TARGET_PLATFORM }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1