diff options
author | Reiner Herrmann <reiner@reiner-h.de> | 2022-07-25 23:52:18 +0200 |
---|---|---|
committer | Reiner Herrmann <reiner@reiner-h.de> | 2022-07-30 10:49:26 +0200 |
commit | cfc854788358ab9fd0fa04a453d2fa7e864ae921 (patch) | |
tree | eac666c8057448017f4680ff58c78787f8b38bce /.github | |
parent | tests: disable calling curl in dns test, as systemd-resolved is used on CI ru... (diff) | |
download | firejail-cfc854788358ab9fd0fa04a453d2fa7e864ae921.tar.gz firejail-cfc854788358ab9fd0fa04a453d2fa7e864ae921.tar.zst firejail-cfc854788358ab9fd0fa04a453d2fa7e864ae921.zip |
CI: bump ubuntu to 22.04 and use newer compilers / analyzers
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build-extra.yml | 16 | ||||
-rw-r--r-- | .github/workflows/build.yml | 6 | ||||
-rw-r--r-- | .github/workflows/profile-checks.yml | 2 |
3 files changed, 12 insertions, 12 deletions
diff --git a/.github/workflows/build-extra.yml b/.github/workflows/build-extra.yml index 5a24d0d21..9eb489d52 100644 --- a/.github/workflows/build-extra.yml +++ b/.github/workflows/build-extra.yml | |||
@@ -28,13 +28,13 @@ on: | |||
28 | 28 | ||
29 | jobs: | 29 | jobs: |
30 | build-clang: | 30 | build-clang: |
31 | runs-on: ubuntu-20.04 | 31 | runs-on: ubuntu-22.04 |
32 | steps: | 32 | steps: |
33 | - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | 33 | - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b |
34 | - name: install dependencies | 34 | - name: install dependencies |
35 | run: sudo apt-get install libapparmor-dev libselinux1-dev | 35 | run: sudo apt-get install libapparmor-dev libselinux1-dev |
36 | - name: configure | 36 | - name: configure |
37 | run: CC=clang-11 ./configure --enable-fatal-warnings --enable-apparmor --enable-selinux | 37 | run: CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor --enable-selinux |
38 | - name: make | 38 | - name: make |
39 | run: make | 39 | run: make |
40 | - name: make install | 40 | - name: make install |
@@ -42,17 +42,17 @@ jobs: | |||
42 | - name: print version | 42 | - name: print version |
43 | run: command -V firejail && firejail --version | 43 | run: command -V firejail && firejail --version |
44 | scan-build: | 44 | scan-build: |
45 | runs-on: ubuntu-20.04 | 45 | runs-on: ubuntu-22.04 |
46 | steps: | 46 | steps: |
47 | - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | 47 | - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b |
48 | - name: install clang-tools-11 and dependencies | 48 | - name: install clang-tools-14 and dependencies |
49 | run: sudo apt-get install clang-tools-11 libapparmor-dev libselinux1-dev | 49 | run: sudo apt-get install clang-tools-14 libapparmor-dev libselinux1-dev |
50 | - name: configure | 50 | - name: configure |
51 | run: CC=clang-11 ./configure --enable-fatal-warnings --enable-apparmor --enable-selinux | 51 | run: CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor --enable-selinux |
52 | - name: scan-build | 52 | - name: scan-build |
53 | run: NO_EXTRA_CFLAGS="yes" scan-build-11 --status-bugs make | 53 | run: NO_EXTRA_CFLAGS="yes" scan-build-14 --status-bugs make |
54 | cppcheck: | 54 | cppcheck: |
55 | runs-on: ubuntu-20.04 | 55 | runs-on: ubuntu-22.04 |
56 | steps: | 56 | steps: |
57 | - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | 57 | - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b |
58 | - name: install cppcheck | 58 | - name: install cppcheck |
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cc7893305..75811d83a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -20,15 +20,15 @@ on: | |||
20 | 20 | ||
21 | jobs: | 21 | jobs: |
22 | build_and_test: | 22 | build_and_test: |
23 | runs-on: ubuntu-20.04 | 23 | runs-on: ubuntu-22.04 |
24 | steps: | 24 | steps: |
25 | - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | 25 | - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b |
26 | - name: update package information | 26 | - name: update package information |
27 | run: sudo apt-get update | 27 | run: sudo apt-get update |
28 | - name: install dependencies | 28 | - name: install dependencies |
29 | run: sudo apt-get install gcc-11 libapparmor-dev libselinux1-dev expect xzdec | 29 | run: sudo apt-get install gcc-12 libapparmor-dev libselinux1-dev expect xzdec |
30 | - name: configure | 30 | - name: configure |
31 | run: CC=gcc-11 ./configure --enable-fatal-warnings --enable-analyzer --enable-apparmor --enable-selinux --prefix=/usr | 31 | run: CC=gcc-12 ./configure --enable-fatal-warnings --enable-analyzer --enable-apparmor --enable-selinux --prefix=/usr |
32 | - name: make | 32 | - name: make |
33 | run: make | 33 | run: make |
34 | - name: make install | 34 | - name: make install |
diff --git a/.github/workflows/profile-checks.yml b/.github/workflows/profile-checks.yml index 9138e8a57..d235aeb64 100644 --- a/.github/workflows/profile-checks.yml +++ b/.github/workflows/profile-checks.yml | |||
@@ -18,7 +18,7 @@ on: | |||
18 | 18 | ||
19 | jobs: | 19 | jobs: |
20 | profile-checks: | 20 | profile-checks: |
21 | runs-on: ubuntu-20.04 | 21 | runs-on: ubuntu-latest |
22 | steps: | 22 | steps: |
23 | - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | 23 | - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b |
24 | - name: sort.py | 24 | - name: sort.py |