mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-11-03 20:54:07 +01:00
[wheel build] Test macos wheels
This commit is contained in:
parent
cebbbd1269
commit
269782be2b
18
.github/workflows/build-wheels.yml
vendored
18
.github/workflows/build-wheels.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user