-
Notifications
You must be signed in to change notification settings - Fork 793
55 lines (46 loc) · 1.23 KB
/
analyze-codeql.yaml
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
name: CodeQL Scan
on:
push:
branches: [main]
pull_request:
# The branches below must be a subset of the branches above.
branches: [main]
schedule:
- cron: '0 8 * * 6'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze-codeql:
name: Analyze
runs-on: ubuntu-22.04
permissions:
security-events: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
- name: Install Dependencies
run: |
sudo apt-get -y -qq update
sudo apt-get -y -qq --no-install-recommends install \
cmake \
extra-cmake-modules \
libarchive-dev \
libgl1-mesa-dev \
libqt6opengl6-dev \
libsqlite3-dev \
libvulkan-dev \
libxcb-keysyms1-dev \
ninja-build \
qt6-base-private-dev \
qt6-webengine-dev \
qt6-webengine-dev-tools
- name: Configure & Build
uses: lukka/run-cmake@v10
with:
configurePreset: ninja-multi
buildPreset: ninja-multi-release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3