From bcddea8478e8aad414fdb59be109c74ca415655c Mon Sep 17 00:00:00 2001 From: Bader <49657842+baderouaich@users.noreply.github.com> Date: Thu, 17 Oct 2024 22:40:06 +0100 Subject: [PATCH] Update build-macos.yml --- .github/workflows/build-macos.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 962841d39..e0bcd033f 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -24,11 +24,12 @@ jobs: - name: Install deps run: | brew install ninja + brew install llvm@18 - name: Ensure deps are installed run: | cmake --version - clang++ --version + clang++-18 --version ninja --version - name: Print system information @@ -37,7 +38,7 @@ jobs: - name: Build & run CText flow run: | mkdir cmake-build-debug && cd cmake-build-debug - cmake .. -GNinja -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=ON + cmake .. -GNinja -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=ON -DCMAKE_CXX_COMPILER=clang++-18 -DCMAKE_C_COMPILER=clang-18 export TESTS_BOT_TOKEN=${{ secrets.TESTS_BOT_TOKEN }} ninja tests/all -j$(sysctl -n hw.logicalcpu) ninja test