Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
davschneller committed Nov 14, 2024
1 parent edbdf8b commit 3d2b5c5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
clang-format:
name: clang-format
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
reuse:
name: reuse
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
unittest:
name: unittest
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
clang-tidy:
name: clang-tidy
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: apt-get
run: |
Expand All @@ -18,8 +18,8 @@ jobs:
# keep, for once clang-19 or higher is needed
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-19 main"
sudo add-apt-repository "deb-src http://apt.llvm.org/jammy/ llvm-toolchain-jammy-19 main"
sudo add-apt-repository "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-19 main"
sudo add-apt-repository "deb-src http://apt.llvm.org/noble/ llvm-toolchain-noble-19 main"
sudo apt-get update -y
sudo apt-get -y install clang-19 clang-tidy-19 libomp-19-dev
Expand All @@ -43,6 +43,5 @@ jobs:
git submodule update --init
mkdir -p build && cd build
cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DTESTING=ON -GNinja
ninja
sed -i 's/-fprofile-abs-path //g' compile_commands.json
run-clang-tidy ../ ./ -clang-tidy-binary=$(which clang-tidy-19) -quiet -j $(nproc)
for f in $(find ../ -iname '*.h' -not -path './tests/*'); do clang-tidy-19 -p . $f; done

0 comments on commit 3d2b5c5

Please sign in to comment.