Skip to content

Commit

Permalink
ci: add $(brew --prefix)/lib to LIBRARY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
dkim committed May 1, 2024
1 parent 4e809f4 commit 28e3517
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,9 @@ jobs:
brew update
brew install sdl2
- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --verbose --workspace --all-targets -- --include-ignored
run: |
export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib"
cargo test --verbose --workspace --all-targets -- --include-ignored
# `cargo test --all-targets` does not run doctest: https://github.com/rust-lang/cargo/issues/6669.
- name: cargo test (doc)
uses: actions-rs/cargo@v1
Expand Down

0 comments on commit 28e3517

Please sign in to comment.