Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
milesgranger committed Apr 4, 2024
1 parent 12bb7c9 commit 104378a
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
if: runner.os == 'macOS'
run: |
echo "MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion)" >> $GITHUB_ENV
brew install ninja gcc
brew install ninja
- name: Install packages (Windows)
if: runner.os == 'Windows'
Expand All @@ -47,5 +47,16 @@ jobs:
- uses: rui314/setup-mold@v1

- name: Set Env
shell: bash
# Cannot set dynamic link path from build.rs
# xref: https://github.com/rust-lang/cargo/issues/4895
run: |
echo "BLOSC2_INSTALL_PREFIX=$(pwd)/build" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$BLOSC2_INSTALL_PREFIX/lib64:$BLOSC2_INSTALL_PREFIX/lib" >> $GITHUB_ENV
echo "DYLD_FALLBACK_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
- name: Test
run: cargo test --lib
shell: bash
run: cargo test
env:

0 comments on commit 104378a

Please sign in to comment.