diff options
author | 2022-07-25 23:58:51 +0200 | |
---|---|---|
committer | 2022-07-30 10:48:30 +0200 | |
commit | 3a5954c1284598d0cbfb94f16bb40cf1ab562602 (patch) | |
tree | 6d4f1c12cbcfb28ea0b977740e64c1906bf71e70 | |
parent | Deny Tor related profiles access to /sys/class/net (diff) | |
download | firejail-3a5954c1284598d0cbfb94f16bb40cf1ab562602.tar.gz firejail-3a5954c1284598d0cbfb94f16bb40cf1ab562602.tar.zst firejail-3a5954c1284598d0cbfb94f16bb40cf1ab562602.zip |
CI: build all jobs with apparmor / selinux to cover more code
-rw-r--r-- | .github/workflows/build-extra.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/build-extra.yml b/.github/workflows/build-extra.yml index 6f9a4bc2c..5a24d0d21 100644 --- a/.github/workflows/build-extra.yml +++ b/.github/workflows/build-extra.yml | |||
@@ -31,8 +31,10 @@ jobs: | |||
31 | runs-on: ubuntu-20.04 | 31 | runs-on: ubuntu-20.04 |
32 | steps: | 32 | steps: |
33 | - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | 33 | - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b |
34 | - name: install dependencies | ||
35 | run: sudo apt-get install libapparmor-dev libselinux1-dev | ||
34 | - name: configure | 36 | - name: configure |
35 | run: CC=clang-11 ./configure --enable-fatal-warnings | 37 | run: CC=clang-11 ./configure --enable-fatal-warnings --enable-apparmor --enable-selinux |
36 | - name: make | 38 | - name: make |
37 | run: make | 39 | run: make |
38 | - name: make install | 40 | - name: make install |
@@ -43,10 +45,10 @@ jobs: | |||
43 | runs-on: ubuntu-20.04 | 45 | runs-on: ubuntu-20.04 |
44 | steps: | 46 | steps: |
45 | - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | 47 | - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b |
46 | - name: install clang-tools-11 | 48 | - name: install clang-tools-11 and dependencies |
47 | run: sudo apt-get install clang-tools-11 | 49 | run: sudo apt-get install clang-tools-11 libapparmor-dev libselinux1-dev |
48 | - name: configure | 50 | - name: configure |
49 | run: CC=clang-11 ./configure --enable-fatal-warnings | 51 | run: CC=clang-11 ./configure --enable-fatal-warnings --enable-apparmor --enable-selinux |
50 | - name: scan-build | 52 | - name: scan-build |
51 | run: NO_EXTRA_CFLAGS="yes" scan-build-11 --status-bugs make | 53 | run: NO_EXTRA_CFLAGS="yes" scan-build-11 --status-bugs make |
52 | cppcheck: | 54 | cppcheck: |