Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Mar 7, 2024
1 parent dd6250e commit 645c0bd
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 233 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
name: 🧹 clang-tidy-1D
name: 🧹 clang-tidy

on: [push, pull_request]

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-clangtidy-1D
group: ${{ github.ref }}-${{ github.head_ref }}-clangtidy
cancel-in-progress: true

jobs:
run_clang_tidy:
name: clang-tidy-1D
strategy:
matrix:
dim: [1, 2, RZ, 3]
name: clang-tidy-${{ matrix.dim }}${{ matrix.dim != "RZ" && "D" }}
runs-on: ubuntu-22.04
if: github.event.pull_request.draft == false
steps:
Expand All @@ -35,19 +38,19 @@ jobs:
export CXX=$(which clang++-15)
export CC=$(which clang-15)
cmake -S . -B build_clang_tidy_1D \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWarpX_DIMS="1" \
-DWarpX_MPI=ON \
-DWarpX_COMPUTE=OMP \
-DWarpX_PSATD=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_PSATD=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_1D -j 4
cmake --build build_clang_tidy -j 4
${{github.workspace}}/.github/workflows/source/makeMakefileForClangTidy.py --input ${{github.workspace}}/ccache.log.txt
make -j4 --keep-going -f clang-tidy-ccache-misses.mak \
Expand Down
73 changes: 0 additions & 73 deletions .github/workflows/clang_tidy_2D.yml

This file was deleted.

73 changes: 0 additions & 73 deletions .github/workflows/clang_tidy_3D.yml

This file was deleted.

73 changes: 0 additions & 73 deletions .github/workflows/clang_tidy_RZ.yml

This file was deleted.

0 comments on commit 645c0bd

Please sign in to comment.