From 3a80c6185ae68f860c77a7057708cc3954e8a176 Mon Sep 17 00:00:00 2001 From: Joseph Edwards Date: Wed, 11 Dec 2024 22:26:59 +0000 Subject: [PATCH] Use clang++-18 --- .github/workflows/runtests.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/runtests.yml b/.github/workflows/runtests.yml index 80ae09d7c..99d6c33a1 100644 --- a/.github/workflows/runtests.yml +++ b/.github/workflows/runtests.yml @@ -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" @@ -287,6 +287,8 @@ 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 @@ -294,7 +296,7 @@ jobs: - 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: