Skip to content

Commit

Permalink
Merge pull request #5959 from tjhei/ci-clang-clean
Browse files Browse the repository at this point in the history
clang CI fixes
  • Loading branch information
gassmoeller authored Jul 4, 2024
2 parents 51d58f0 + d461590 commit e7ff10c
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
# pull_request: disable testing of PRs because it is too slow

concurrency:
group: ${{ github.actor }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
Expand All @@ -24,17 +24,10 @@ jobs:
# run clang-tidy
name: tidy
runs-on: [ubuntu-latest]
strategy:
fail-fast: false
matrix:
include:
- image: "geodynamics/aspect-tester:noble-dealii-master-clang"
result-file: "clang-tidy-results.txt"
container-options: '--user 0 --name container'

container:
image: ${{ matrix.image }}
options: ${{ matrix.container-options }}
image: "geodynamics/aspect-tester:noble-dealii-master-clang"
options: '--user 0 --name container'

steps:
- uses: actions/checkout@v4
Expand All @@ -43,7 +36,7 @@ jobs:
mkdir build
cd build
../contrib/utilities/run_clang_tidy.sh $PWD/..
mv output.txt ${{ matrix.result-file }}
mv output.txt clang-tidy-results.txt
- name: compile
run: |
cd build
Expand All @@ -56,5 +49,5 @@ jobs:
- name: archive test results
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.result-file }}
path: build/${{ matrix.result-file }}
name: clang-tidy-results.txt
path: build/clang-tidy-results.txt

0 comments on commit e7ff10c

Please sign in to comment.