Skip to content

Commit

Permalink
Updates to CI (Exawind#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrood-nrel authored Apr 26, 2024
1 parent d39d2d6 commit 03f7515
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,10 @@ jobs:
- name: Configure
run: |
export MPICH_CXX=$(which clang++)
export MPICH_CC=$(which clang)
cmake \
-B ${{runner.workspace}}/build-clang-tidy \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_CXX_COMPILER:STRING=mpicxx \
-DCMAKE_C_COMPILER:STRING=mpicc \
-DTIOGA_ENABLE_CLANG_TIDY:BOOL=ON \
-DCMAKE_CXX_COMPILER_LAUNCHER:STRING=ccache \
-DCLANG_TIDY_EXEC_NAME:STRING=clang-tidy-${CLANG_TIDY_VERSION} \
Expand All @@ -168,12 +166,12 @@ jobs:
awk 'BEGIN{i=0}{print $0}{i++}END{print "Warnings: "i}' > clang-tidy-ci-report.txt
- name: Ccache Report
run: |
ls ~/.cache
ls ~/.cache/ccache
du -hs ~/.cache/ccache
ls ~/.cache/ctcache
du -hs ~/.cache/ctcache
ccache -s
ls ~/.cache || true
ls ~/.cache/ccache || true
du -hs ~/.cache/ccache || true
ls ~/.cache/ctcache || true
du -hs ~/.cache/ctcache || true
ccache -s || true
- name: Full report
working-directory: ${{runner.workspace}}/build-clang-tidy
run: cat clang-tidy-full-report.txt
Expand Down

0 comments on commit 03f7515

Please sign in to comment.