Skip to content

Commit bbd421a

Browse files
drakenclimberpcmoore
authored andcommitted
github: Add a job to build libseccomp using clang
Add a Github Actions jobs to build libseccomp with clang rather than gcc. Signed-off-by: Tom Hromatka <[email protected]> Signed-off-by: Paul Moore <[email protected]>
1 parent 9b9ea8e commit bbd421a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,24 @@ jobs:
117117
with:
118118
ignore_words_list: extraversion
119119
exclude_file: src/syscalls.csv
120+
121+
clang:
122+
name: Clang
123+
runs-on: ubuntu-24.04
124+
env:
125+
CC: clang
126+
CXX: clang++
127+
128+
steps:
129+
- name: Checkout from github
130+
uses: actions/checkout@v4
131+
- name: Initialize libseccomp
132+
uses: ./.github/actions/setup
133+
- name: Build libseccomp
134+
run: |
135+
./configure --enable-python
136+
make check-build
137+
- name: Run tests
138+
run: |
139+
LIBSECCOMP_TSTCFG_JOBS=0 \
140+
LIBSECCOMP_TSTCFG_STRESSCNT=5 make check

0 commit comments

Comments
 (0)