From 34a95202af88e8b60b2ee2c91ef9efd256e26457 Mon Sep 17 00:00:00 2001 From: Senichenkov Date: Wed, 8 Jan 2025 15:47:56 +0300 Subject: [PATCH] Export DYLD_... in core-tests before running tests on macOS --- .github/workflows/core-tests.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/core-tests.yml b/.github/workflows/core-tests.yml index 203e67cbde..46698cc6ff 100644 --- a/.github/workflows/core-tests.yml +++ b/.github/workflows/core-tests.yml @@ -100,4 +100,9 @@ jobs: - name: Test working-directory: ${{github.workspace}}/build/target shell: bash - run: ./Desbordante_test --gtest_filter='*:-*HeavyDatasets*' + run: | + if [[ ${{ matrix.os.name }} == 'macos' ]]; then + export DYLD_LIBRARY_PATH=/usr/local/lib:${DYLD_LIBRARY_PATH} + fi + + ./Desbordante_test --gtest_filter='*:-*HeavyDatasets*'