Skip to content

Commit 9fa06c5

Browse files
committed
[#3732] Switch CodeQL to Meson
1 parent 97968eb commit 9fa06c5

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/codeql.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: "CodeQL"
22

33
on:
44
push:
5-
branches: [ "master", "ci" ]
5+
branches: [ "master", "ci", "v*_*" ]
66
pull_request:
77
# The branches below must be a subset of the branches above
8-
branches: [ "master", "ci" ]
8+
branches: [ "master", "ci", "v*_*" ]
99
schedule:
1010
- cron: '41 12 * * 0'
1111

@@ -25,11 +25,11 @@ jobs:
2525

2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929

3030
# Initializes the CodeQL tools for scanning.
3131
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@v2
32+
uses: github/codeql-action/init@v3
3333
with:
3434
languages: ${{ matrix.language }}
3535
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -44,7 +44,7 @@ jobs:
4444
# If this step fails, then you should remove it and run the build manually (see below)
4545
- name: Install dependencies
4646
run: |
47-
./hammer.py prepare-system -p local -w docs,netconf,perfdhcp,shell,tls,unittest
47+
./hammer.py prepare-system -p local -w all
4848
4949
- name: Inspect system CPU
5050
run: cat /proc/cpuinfo
@@ -55,9 +55,8 @@ jobs:
5555
# Flags skipped: --with-gssapi --with-freeradius
5656
- name: Build Kea
5757
run: |
58-
autoreconf -i
59-
./configure --enable-shell --enable-debug --enable-generate-docs --enable-generate-messages --enable-generate-parser --enable-logger-checks --enable-perfdhcp --enable-shell --with-libyang --with-libyang-cpp --with-openssl --with-sysrepo --with-sysrepo-cpp
60-
make -j2
58+
meson setup build --auto-features enabled -D fuzz=enabled -D tests=enabled
59+
meson compile -C build
6160
6261
# ℹ️ Command-line programs to run using the OS shell.
6362
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -70,6 +69,6 @@ jobs:
7069
# ./location_of_script_within_repo/buildscript.sh
7170

7271
- name: Perform CodeQL Analysis
73-
uses: github/codeql-action/analyze@v2
72+
uses: github/codeql-action/analyze@v3
7473
with:
7574
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)