From 1b66f3ece1a3b5842b336f5159c3507cba69d217 Mon Sep 17 00:00:00 2001 From: Hubert Date: Tue, 12 Sep 2023 14:03:24 +0200 Subject: [PATCH] final CI --- .github/workflows/test-library.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-library.yml b/.github/workflows/test-library.yml index fd3c1dc49..cb3d14572 100644 --- a/.github/workflows/test-library.yml +++ b/.github/workflows/test-library.yml @@ -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