Skip to content

Commit

Permalink
workflows/test: add zstd to Mac OS dependencies
Browse files Browse the repository at this point in the history
Not sure when this became a requirement, but it needs to added to
LIBRARY_PATH.

Signed-off-by: Charalampos Mitrodimas <charmitro@posteo.net>
  • Loading branch information
charmitro committed Jan 29, 2025
1 parent 0d9dfdd commit db398b0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -556,9 +556,11 @@ jobs:
# echo "RUSTFLAGS=-L/usr/lib64 -L/usr/lib" >> $GITHUB_ENV
- name: Set up dependencies for Mac OS
run: |
brew install automake
brew install automake zstd
# using gnu-tar is a workaround for https://github.com/actions/cache/issues/403
brew install gnu-tar
# Set up library paths for zstd
echo "LIBRARY_PATH=/opt/homebrew/lib:/usr/local/lib:$LIBRARY_PATH" >> $GITHUB_ENV
echo PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH" >> $GITHUB_ENV
if: matrix.metadata.os == 'macos-13'
- name: Install Rust
Expand Down Expand Up @@ -811,9 +813,11 @@ jobs:

- name: Set up dependencies for Mac OS
run: |
brew install automake
brew install automake zstd
# using gnu-tar is a workaround for https://github.com/actions/cache/issues/403
brew install gnu-tar
# Set up library paths for zstd
echo "LIBRARY_PATH=/opt/homebrew/lib:/usr/local/lib:$LIBRARY_PATH" >> $GITHUB_ENV
echo PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH" >> $GITHUB_ENV
if: matrix.metadata.os == 'macos-13'
- name: Install Rust
Expand Down

0 comments on commit db398b0

Please sign in to comment.