aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2020-10-01 22:30:56 +0200
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2020-10-01 22:30:56 +0200
commit88eb73edac5a11a5043a6833e39ef3140d9273c0 (patch)
tree76b56822810d269902f80270bd0c406fda0c71e9 /.github/workflows
parentfix build with clang (diff)
downloadfirejail-88eb73edac5a11a5043a6833e39ef3140d9273c0.tar.gz
firejail-88eb73edac5a11a5043a6833e39ef3140d9273c0.tar.zst
firejail-88eb73edac5a11a5043a6833e39ef3140d9273c0.zip
build: enable clang-10 build in github CI
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml19
1 files changed, 10 insertions, 9 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a8779fc00..ec7cd21d3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -17,17 +17,19 @@ jobs:
17 run: CC=gcc-10 ./configure --enable-fatal-warnings --enable-analyzer 17 run: CC=gcc-10 ./configure --enable-fatal-warnings --enable-analyzer
18 - name: make 18 - name: make
19 run: make 19 run: make
20 build-clang:
21 runs-on: ubuntu-20.04
22 steps:
23 - uses: actions/checkout@v2
24 - name: configure
25 run: CC=clang-10 ./configure --enable-fatal-warnings
26 - name: make
27 run: make
20 # Disabled for now because of broken clang-10 support: https://github.com/actions/virtual-environments/issues/1536 28 # Disabled for now because of broken clang-10 support: https://github.com/actions/virtual-environments/issues/1536
21 #build-clang:
22 # runs-on: ubuntu-20.04
23 # steps:
24 # - uses: actions/checkout@v2
25 # - name: install clang tools 10 29 # - name: install clang tools 10
26 # run: sudo apt-get install clang-tools-10 30 # run: sudo apt-get install clang-tools-10
27 # - name: configure 31 # - name: scan-build
28 # run: CC=clang-10 ./configure --enable-fatal-warnings 32 # run: make clean && NO_EXTRA_CFLAGS="yes" scan-build-10 make
29 # - name: make
30 # run: NO_EXTRA_CFLAGS="yes" scan-build-10 make
31 cppcheck: 33 cppcheck:
32 runs-on: ubuntu-20.04 34 runs-on: ubuntu-20.04
33 steps: 35 steps:
@@ -36,4 +38,3 @@ jobs:
36 run: sudo apt-get install cppcheck 38 run: sudo apt-get install cppcheck
37 - name: cppcheck 39 - name: cppcheck
38 run: cppcheck -q --force --error-exitcode=1 --enable=warning,performance . 40 run: cppcheck -q --force --error-exitcode=1 --enable=warning,performance .
39