Skip to content

Commit

Permalink
final CI
Browse files Browse the repository at this point in the history
  • Loading branch information
HubLot committed Sep 12, 2023
1 parent 6efdc02 commit 1b66f3e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,11 @@ jobs:

- name: Perform Clang Static Analyser
env:
CCACHE: ccache
CXX: clang++
CC: clang
run: | # Retrieve warnings generated but not the ones of OpenMM
scan-build-11 --use-cc=clang --use-c++=clang++ cmake -P devel-tools/build_test_library.cmake 2>&1 | tee build_analyser.log \
awk '/warning/,/warning.*generated|^$/' build_analyser.log | awk '!/openmm.*warning/,/warning.*generated|^$/' | tee warnings_analyser.log \
scan-build-11 --use-cc=clang --use-c++=clang++ cmake -P devel-tools/build_test_library.cmake 2>&1 | tee build_analyser.log; \
awk '/warning/,/warning.*generated|^$/' build_analyser.log | awk '!/openmm.*warning/,/warning.*generated|^$/' | tee warnings_analyser.log; \
if [ -s warnings_analyser.log ] ; then echo "Found compiler warning during build"; cat warnings_analyser.log; exit 1; fi
- name: Archive warnings artifacts
Expand Down

0 comments on commit 1b66f3e

Please sign in to comment.