From bbb1df65d1db54d227127856cb711a19505cf22f Mon Sep 17 00:00:00 2001 From: Edoardo Zoni Date: Tue, 19 Nov 2024 15:13:13 -0800 Subject: [PATCH] Fix clang tidy workflow --- .github/workflows/clang_tidy.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/clang_tidy.yml b/.github/workflows/clang_tidy.yml index 6b1eb30cb26..8647242b410 100644 --- a/.github/workflows/clang_tidy.yml +++ b/.github/workflows/clang_tidy.yml @@ -38,14 +38,14 @@ jobs: if: ${{ github.event.pull_request.draft == 'false' }} steps: - name: Checkout code - if: ${{ needs.skip_checks.outputs.skip == 'false' }} + #if: ${{ needs.skip_checks.outputs.skip == 'false' }} uses: actions/checkout@v4 - name: Install dependencies - if: ${{ needs.skip_checks.outputs.skip == 'false' }} + #if: ${{ needs.skip_checks.outputs.skip == 'false' }} run: | .github/workflows/dependencies/clang15.sh - name: Set up cache - if: ${{ needs.skip_checks.outputs.skip == 'false' }} + #if: ${{ needs.skip_checks.outputs.skip == 'false' }} uses: actions/cache@v4 with: path: ~/.cache/ccache @@ -53,7 +53,7 @@ jobs: restore-keys: | ccache-${{ github.workflow }}-${{ github.job }}-git- - name: Build WarpX & run clang-tidy - if: ${{ needs.skip_checks.outputs.skip == 'false' }} + #if: ${{ needs.skip_checks.outputs.skip == 'false' }} run: | export CCACHE_COMPRESS=1 export CCACHE_COMPRESSLEVEL=10 @@ -63,16 +63,16 @@ jobs: ccache -z export CXX=$(which clang++-15) export CC=$(which clang-15) - cmake -S . -B build_clang_tidy \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWarpX_DIMS="${{ matrix.dim }}" \ - -DWarpX_MPI=ON \ - -DWarpX_COMPUTE=OMP \ - -DWarpX_FFT=ON \ - -DWarpX_QED=ON \ - -DWarpX_QED_TABLE_GEN=ON \ - -DWarpX_OPENPMD=ON \ - -DWarpX_PRECISION=SINGLE \ + cmake -S . -B build_clang_tidy \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWarpX_DIMS="${{ matrix.dim }}" \ + -DWarpX_MPI=ON \ + -DWarpX_COMPUTE=OMP \ + -DWarpX_FFT=ON \ + -DWarpX_QED=ON \ + -DWarpX_QED_TABLE_GEN=ON \ + -DWarpX_OPENPMD=ON \ + -DWarpX_PRECISION=SINGLE \ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache cmake --build build_clang_tidy -j 4 ${{github.workspace}}/.github/workflows/source/makeMakefileForClangTidy.py --input ${{github.workspace}}/ccache.log.txt