forked from oleg-derevenetz/bwping
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 888 Bytes
/
codeql.yml
File metadata and controls
40 lines (37 loc) · 888 Bytes
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 Analyzer
on:
workflow_call:
permissions:
security-events: write
jobs:
codeql:
strategy:
matrix:
mmsg:
- enable-mmsg
- disable-mmsg
bpf:
- enable-bpf
- disable-bpf
name: CodeQL Analyzer (--${{ matrix.mmsg }} --${{ matrix.bpf }})
runs-on: ubuntu-latest
timeout-minutes: 10
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v6
- name: Install dependencies
run: |
sudo apt-get -y update
sudo apt-get -y install autoconf automake
- uses: github/codeql-action/init@v4
with:
build-mode: manual
languages: cpp
- name: Run build
run: |
autoreconf -f -i -Wall,error
./configure --${{ matrix.mmsg }} --${{ matrix.bpf }}
make "CFLAGS=-Werror"
- uses: github/codeql-action/analyze@v4