Skip to content

Commit

Permalink
build: enable CI build with scan-build
Browse files Browse the repository at this point in the history
  • Loading branch information
reinerh committed Oct 14, 2020
1 parent d08fb3b commit 6fd7e73
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,16 @@ jobs:
run: CC=clang-10 ./configure --enable-fatal-warnings
- name: make
run: make
# Disabled for now because of broken clang-10 support: https://github.com/actions/virtual-environments/issues/1536
# - name: install clang tools 10
# run: sudo apt-get install clang-tools-10
# - name: scan-build
# run: make clean && NO_EXTRA_CFLAGS="yes" scan-build-10 make
scan-build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: install clang-tools-10
run: sudo apt-get install clang-tools-10
- name: configure
run: CC=clang-10 ./configure --enable-fatal-warnings
- name: scan-build
run: NO_EXTRA_CFLAGS="yes" scan-build-10 --status-bugs make
cppcheck:
runs-on: ubuntu-20.04
steps:
Expand Down

0 comments on commit 6fd7e73

Please sign in to comment.