From ca3ac75a41c528aec248ed9192f8399d24dde224 Mon Sep 17 00:00:00 2001 From: Bartek Kryza Date: Sat, 13 Jul 2024 13:03:09 +0200 Subject: [PATCH] Updated macos build actions deps --- .github/workflows/macos.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 2d78e2ded..ac8cba619 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -33,14 +33,14 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: ccache + uses: hendrikmuhs/ccache-action@v1.2 + - name: Install dependencies using homebrew run: brew install llvm@18 ninja yaml-cpp cmake ccache - - name: Setup tmate session - uses: mxschmitt/action-tmate@v3 - - name: Build and test - run: CC=/opt/homebrew/Cellar/llvm@18/18.1.8/bin/clang CXX=/opt/homebrew/Cellar/llvm@18/18.1.8/bin/clang++ CMAKE_PREFIX=/opt/homebrew/Cellar/llvm@18/18.1.8/lib/cmake/llvm/ CMAKE_GENERATOR=Ninja make debug + run: CC=/opt/homebrew/opt/llvm/bin/clang CXX=/opt/homebrew/opt/llvm/18.1.8/bin/clang++ CMAKE_PREFIX=/opt/homebrew/Cellar/opt/llvm/lib/cmake/llvm/ CMAKE_GENERATOR=Ninja CMAKE_EXE_LINKER_FLAGS="-L/opt/homebrew/opt/llvm/lib/c++ -Wl,-rpath,/opt/homebrew/opt/llvm/lib/c++" make debug - name: Print otool run: otool -L debug/src/clang-uml