1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-08-24 22:21:43 +02:00

[wheel build] Test macos wheels

This commit is contained in:
q-posev 2024-08-17 21:09:28 +02:00
parent cebbbd1269
commit 269782be2b

View File

@ -67,22 +67,32 @@ jobs:
- name: install dependencies - name: install dependencies
run: | run: |
brew install emacs brew install emacs
brew install hdf5@1.14
brew install automake brew install automake
brew install libtool brew install libtool
brew install swig 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 - name: configure with autotools
run: | run: |
./autogen.sh ./autogen.sh
./configure FC=gfortran-12 --enable-silent-rules ./configure FC=gfortran-12 --enable-silent-rules
make -j3 make -j3
make -j3 check
- name: prepare python - name: prepare python
run: | run: |
export H5_CFLAGS="-I$(brew --prefix hdf5)/include" export H5_CFLAGS="-I/usr/local/include"
export H5_LDFLAGS="-L$(brew --prefix hdf5)/lib" export H5_LDFLAGS="-L/usr/local/lib"
make python-install make python-install
- name: cleanup python - name: cleanup python