Skip to content

Commit

Permalink
Export DYLD_... before running tests in binding-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
p-senichenkov committed Jan 7, 2025
1 parent 8f4bc8f commit dc37ba2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/bindings-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/
Expand All @@ -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
Expand Down

0 comments on commit dc37ba2

Please sign in to comment.