Skip to content

Commit

Permalink
Use clang++-18
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph-Edwards committed Dec 11, 2024
1 parent a591dbd commit 3a80c61
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,12 @@ jobs:
run: ./test_all "[quick]"
sanitisers:
timeout-minutes: 60
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
env:
CXX: "ccache clang++"
CXX: "ccache clang++-18"
strategy:
matrix:
type: ["thread", "address", "undefined behaviour"]
type: ["Thread", "Address", "UndefinedBehaviour"]
include:
- type: "Thread"
cxx_flags: "-fdiagnostics-color -fsanitize=thread -fPIE -pie -fno-omit-frame-pointer -g -O2"
Expand All @@ -287,14 +287,16 @@ jobs:
with:
update_packager_index: false
install_ccache: true
- name: "Install dependencies . . ."
run: wget -qO- https://apt.llvm.org/llvm.sh | bash -s -- 18
- name: "Configure . . ."
run: |
mkdir -p m4 && ./autogen.sh
./configure CXX="$CXX" CXXFLAGS="{{ matrix.cxx_flags }}" LDFLAGS="{{ matrix.ld_flags }}"
- name: "Build libsemigroups . . ."
run: make -j4
- name: "Build test_all . . ."
run: make test_all -j4
run: make test_all -j4
- name: "Run tests with {{ matrix.type }}Sanitizer . . ."
run: ./test_all "[quick][standard]"
valgrind:
Expand Down

0 comments on commit 3a80c61

Please sign in to comment.