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