Commit f2fbb94 1 parent dd6250e commit f2fbb94 Copy full SHA for f2fbb94
File tree 4 files changed +17
-233
lines changed
4 files changed +17
-233
lines changed Original file line number Diff line number Diff line change 1
- name : 🧹 clang-tidy-1D
1
+ name : 🧹 clang-tidy
2
2
3
3
on : [push, pull_request]
4
4
5
5
concurrency :
6
- group : ${{ github.ref }}-${{ github.head_ref }}-clangtidy-1D
6
+ group : ${{ github.ref }}-${{ github.head_ref }}-clangtidy
7
7
cancel-in-progress : true
8
8
9
9
jobs :
10
10
run_clang_tidy :
11
- name : clang-tidy-1D
11
+ strategy :
12
+ matrix :
13
+ dim : [1, 2, RZ, 3]
14
+ name : clang-tidy-${{ matrix.dim }}${{ matrix.dim != 'RZ' && 'D' }}
12
15
runs-on : ubuntu-22.04
13
16
if : github.event.pull_request.draft == false
14
17
steps :
@@ -35,19 +38,19 @@ jobs:
35
38
export CXX=$(which clang++-15)
36
39
export CC=$(which clang-15)
37
40
38
- cmake -S . -B build_clang_tidy_1D \
39
- -DCMAKE_VERBOSE_MAKEFILE=ON \
40
- -DWarpX_DIMS="1" \
41
- -DWarpX_MPI=ON \
42
- -DWarpX_COMPUTE=OMP \
43
- -DWarpX_PSATD=ON \
44
- -DWarpX_QED=ON \
45
- -DWarpX_QED_TABLE_GEN=ON \
46
- -DWarpX_OPENPMD=ON \
47
- -DWarpX_PRECISION=SINGLE \
41
+ cmake -S . -B build_clang_tidy \
42
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
43
+ -DWarpX_DIMS="${{ matrix.dim }}" \
44
+ -DWarpX_MPI=ON \
45
+ -DWarpX_COMPUTE=OMP \
46
+ -DWarpX_PSATD=ON \
47
+ -DWarpX_QED=ON \
48
+ -DWarpX_QED_TABLE_GEN=ON \
49
+ -DWarpX_OPENPMD=ON \
50
+ -DWarpX_PRECISION=SINGLE \
48
51
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
49
52
50
- cmake --build build_clang_tidy_1D -j 4
53
+ cmake --build build_clang_tidy -j 4
51
54
52
55
${{github.workspace}}/.github/workflows/source/makeMakefileForClangTidy.py --input ${{github.workspace}}/ccache.log.txt
53
56
make -j4 --keep-going -f clang-tidy-ccache-misses.mak \
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments