From a9a73f1d6573e8c6290cc01d2e0c5fe5674d9423 Mon Sep 17 00:00:00 2001 From: Daljit Singh <129752264+daljit46@users.noreply.github.com> Date: Mon, 20 May 2024 10:27:54 +0100 Subject: [PATCH] Try with clang-15 --- .github/workflows/checks.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 4a4487d3ce..8e34e7dd87 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -1,6 +1,7 @@ name: Checks on: + push: pull_request: types: [opened, synchronize] branches: [ master, dev] @@ -25,7 +26,7 @@ jobs: - name: install dependencies run: | sudo apt-get update - sudo apt-get install clang qt6-base-dev libglvnd-dev libeigen3-dev zlib1g-dev libfftw3-dev ninja-build python3-distutils python3-numpy + sudo apt-get install clang-15 qt6-base-dev libglvnd-dev libeigen3-dev zlib1g-dev libfftw3-dev ninja-build python3-distutils python3-numpy - name: Run sccache-cache uses: mozilla-actions/sccache-action@v0.0.4 @@ -47,8 +48,8 @@ jobs: -D MRTRIX_BUILD_TESTS=ON -D MRTRIX_STL_DEBUGGING=ON -D MRTRIX_WARNINGS_AS_ERRORS=ON - -D CMAKE_C_COMPILER=clang - -D CMAKE_CXX_COMPILER=clang++ + -D CMAKE_C_COMPILER=clang-15 + -D CMAKE_CXX_COMPILER=clang++-15 - name: build run: cmake --build build