From dc37ba2bb2a0abdaaebca4b22165713094ee0b0d Mon Sep 17 00:00:00 2001 From: Senichenkov Date: Wed, 8 Jan 2025 00:10:41 +0300 Subject: [PATCH] Export DYLD_... before running tests in binding-tests --- .github/workflows/bindings-tests.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bindings-tests.yml b/.github/workflows/bindings-tests.yml index c87530a8f..6568698bf 100644 --- a/.github/workflows/bindings-tests.yml +++ b/.github/workflows/bindings-tests.yml @@ -41,7 +41,8 @@ jobs: env: CC=clang-17 CXX=clang++-17 CXXFLAGS="-stdlib=libc++" LDFLAGS="-lc++abi" - os: { long-name: macos-14, short-name: macos } compiler: llvm-clang - env: CC=$(brew --prefix llvm@17)/bin/clang CXX=$(brew --prefix llvm@17)/bin/clang++ BOOST_ROOT=/usr/local DYLD_LIBRARY_PATH=/usr/local/lib:${DYLD_LIBRARY_PATH} + env: CC=$(brew --prefix llvm@17)/bin/clang CXX=$(brew --prefix llvm@17)/bin/clang++ BOOST_ROOT=/usr/local + runtime-env: DYLD_LIBRARY_PATH=/usr/local/lib:${DYLD_LIBRARY_PATH} - os: { long-name: macos-14, short-name: macos } compiler: apple-clang # Apple Clang is default compiler. No env needed @@ -66,6 +67,8 @@ jobs: - name: Test pip package shell: bash run: | + export ${{ matrix.runtime-env }} + source venv/bin/activate cp test_input_data/WDC_satellites.csv src/python_bindings/ @@ -79,6 +82,8 @@ jobs: working-directory: ${{github.workspace}} shell: bash run: | + export ${{ matrix.runtime-env }} + source venv/bin/activate cp test_input_data/TestDataStats.csv src/python_bindings