File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1919 python-version : ${{ matrix.python-version }}
2020 cache : " pip"
2121 cache-dependency-path : " **/pyproject.toml"
22+ - name : Install HDF5 (macOS only)
23+ if : runner.os == 'macOS'
24+ run : |
25+ brew install hdf5
26+ brew install c-blosc
27+ - name : Set HDF5_DIR environment variable (macOS only)
28+ if : runner.os == 'macOS'
29+ run : |
30+ echo "HDF5_DIR=$(brew --prefix hdf5)" >> $GITHUB_ENV
31+ echo "BLOSC_DIR=$(brew --prefix c-blosc)" >> $GITHUB_ENV
2232 - name : Install dependencies
2333 run : |
2434 python -m pip install --upgrade pip
Original file line number Diff line number Diff line change 1919 python-version : ${{ matrix.python-version }}
2020 cache : " pip"
2121 cache-dependency-path : " **/pyproject.toml"
22+ - name : Install HDF5 (macOS only)
23+ if : runner.os == 'macOS'
24+ run : |
25+ brew install hdf5
26+ brew install c-blosc
27+ - name : Set HDF5_DIR environment variable (macOS only)
28+ if : runner.os == 'macOS'
29+ run : |
30+ echo "HDF5_DIR=$(brew --prefix hdf5)" >> $GITHUB_ENV
31+ echo "BLOSC_DIR=$(brew --prefix c-blosc)" >> $GITHUB_ENV
2232 - name : Install dependencies
2333 run : |
2434 python -m pip install --upgrade pip setuptools wheel
You can’t perform that action at this time.
0 commit comments