From 2e51a4a4b34136dcab52ff2c0c80ccde6a52f0c1 Mon Sep 17 00:00:00 2001 From: Andrew Straw Date: Mon, 9 Dec 2024 09:52:57 +0100 Subject: [PATCH] CI: install hdf5 on mac --- .github/workflows/test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index de138723..222d2e7f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,6 +25,14 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + - name: Install libhdf5 (macOS) + # See https://stackoverflow.com/questions/73029883 + if: runner.os == 'macOS' + run: | + brew install hdf5 + brew install c-blosc + export HDF5_DIR=/opt/homebrew/opt/hdf5 + export BLOSC_DIR=/opt/homebrew/opt/c-blosc - name: Upgrade pip run: python -m pip install --upgrade pip - name: Build and install flydra_core