From db398b07e7424878cc9b27866bf45a8cfb78e1da Mon Sep 17 00:00:00 2001 From: Charalampos Mitrodimas Date: Wed, 29 Jan 2025 21:52:48 +0200 Subject: [PATCH] workflows/test: add zstd to Mac OS dependencies Not sure when this became a requirement, but it needs to added to LIBRARY_PATH. Signed-off-by: Charalampos Mitrodimas --- .github/workflows/test.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f8e3cc03710..a31ff1b9876 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 @@ -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