From 629c9bc5aa201b50e8ae53af7ff968381fdc2290 Mon Sep 17 00:00:00 2001 From: Vlad Gheorghiu Date: Wed, 1 May 2024 14:20:36 -0400 Subject: [PATCH] update Signed-off-by: Vlad Gheorghiu --- .github/workflows/cmake.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 61d40d8..e0a0edc 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -55,8 +55,11 @@ jobs: shell: bash run: | if [ "$RUNNER_OS" == "macOS" ]; then + export PATH=/opt/homebrew/opt/llvm/bin:$PATH export CPATH=$LIBRARY_PATH:/opt/homebrew/include export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/lib + export CXX=clang++ + export CC=clang fi cmake --build build @@ -90,8 +93,11 @@ jobs: shell: bash run: | if [ "$RUNNER_OS" == "macOS" ]; then + export PATH=/opt/homebrew/opt/llvm/bin:$PATH export CPATH=$LIBRARY_PATH:/opt/homebrew/include export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/lib + export CXX=clang++ + export CC=clang fi cmake --build build/unit_tests --target unit_tests @@ -111,8 +117,11 @@ jobs: shell: bash run: | if [ "$RUNNER_OS" == "macOS" ]; then + export PATH=/opt/homebrew/opt/llvm/bin:$PATH export CPATH=$LIBRARY_PATH:/opt/homebrew/include export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/lib + export CXX=clang++ + export CC=clang fi python3 -m venv venv if [ "$RUNNER_OS" == "Windows" ]; then