Skip to content

Commit

Permalink
[wheel build] Test macos wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
q-posev committed Aug 17, 2024
1 parent cebbbd1 commit 269782b
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,22 +67,32 @@ jobs:
- name: install dependencies
run: |
brew install emacs
brew install hdf5@1.14
brew install automake
brew install libtool
brew install swig
brew --prefix hdf5
brew install wget
- name: install hdf5
run: |
wget https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-1_12_3.tar.gz
tar -xzf hdf5-1_12_3.tar.gz
cd hdf5-hdf5-$HDF5_VERSION
./autogen.sh
./configure CC=gcc-12 --prefix /usr/local --enable-build-mode=production --with-szlib
make -j3
make install
- name: configure with autotools
run: |
./autogen.sh
./configure FC=gfortran-12 --enable-silent-rules
make -j3
make -j3 check
- name: prepare python
run: |
export H5_CFLAGS="-I$(brew --prefix hdf5)/include"
export H5_LDFLAGS="-L$(brew --prefix hdf5)/lib"
export H5_CFLAGS="-I/usr/local/include"
export H5_LDFLAGS="-L/usr/local/lib"
make python-install
- name: cleanup python
Expand Down

0 comments on commit 269782b

Please sign in to comment.