From 068c2e1ac0a25e907ade1ef58a0a3ed0feff316b 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 | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/clang_tidy.yml b/.github/workflows/clang_tidy.yml index 6b1eb30cb26..b5715283bac 100644 --- a/.github/workflows/clang_tidy.yml +++ b/.github/workflows/clang_tidy.yml @@ -28,10 +28,11 @@ jobs: outputs: skip: ${{ env.SKIP_CHECKS }} run_clang_tidy: - strategy: - matrix: - dim: [1, 2, RZ, 3] - name: clang-tidy-${{ matrix.dim }}D + #strategy: + # matrix: + # dim: [1, 2, RZ, 3] + #name: clang-tidy-${{ matrix.dim }}D + name: clang-tidy runs-on: ubuntu-22.04 timeout-minutes: 180 needs: skip_checks @@ -63,16 +64,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="1;2;3;RZ" \ + -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