From 6e091295a99050c0e1f83d0984d321f7785f2589 Mon Sep 17 00:00:00 2001 From: Enrico Seiler Date: Fri, 31 May 2024 17:51:32 +0200 Subject: [PATCH] debug --- .github/workflows/ci_macos.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_macos.yml b/.github/workflows/ci_macos.yml index 24dfa468..c1893429 100644 --- a/.github/workflows/ci_macos.yml +++ b/.github/workflows/ci_macos.yml @@ -53,8 +53,11 @@ jobs: with: cmake: 3.25.3 - - name: Setup tmate session - uses: mxschmitt/action-tmate@v3 + - name: debug + run: | + install libomp + echo "LDFLAGS=-L/usr/local/opt/libomp/lib -Wl,-rpath,/usr/local/opt/libomp/lib" >> "$GITHUB_ENV" + echo "CPPFLAGS=-I/usr/local/opt/libomp/include" >> "$GITHUB_ENV" - name: Configure tests run: | @@ -64,6 +67,10 @@ jobs: -DCMAKE_CXX_FLAGS="-Werror ${{ matrix.cxx_flags }}" make -j3 gtest_main + - name: Setup tmate session + if: failure() + uses: mxschmitt/action-tmate@v3 + - name: Build tests run: | ccache -z