-
Notifications
You must be signed in to change notification settings - Fork 10
65 lines (55 loc) · 1.29 KB
/
module-codeql.yml
File metadata and controls
65 lines (55 loc) · 1.29 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: CodeQL Module
on:
push:
branches: [master, gha]
paths:
- ".github/workflows/module-codeql.yml"
- "common/**"
- "exploreApp/**"
- "pciApp/**"
- "vmeApp/**"
pull_request:
branches: [master]
paths:
- ".github/workflows/module-codeql.yml"
- "common/**"
- "exploreApp/**"
- "pciApp/**"
- "vmeApp/**"
permissions:
contents: read
security-events: write
env:
SETUP_PATH: .ci-local:.ci
BASE: "7.0"
CMP: gcc
BCFG: default
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Deps
run: |
sudo apt-get update
sudo apt-get -y install qemu-system-x86 gdb
- name: Prepare deps (ci-scripts)
run: python3 .ci/cue.py prepare
- name: Initialize CodeQL (manual build)
uses: github/codeql-action/init@v3
with:
languages: cpp
build-mode: manual
config-file: ./.github/codeql/config.yml
- name: Build (ci-scripts)
run: |
python3 .ci/cue.py build
- name: Analyze
uses: github/codeql-action/analyze@v3
with:
category: "/language:cpp"