mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-11-04 13:14:00 +01:00
[wheel build] Last attempt to fix the tests :-)
This commit is contained in:
parent
38b84055eb
commit
634dbab437
14
.github/workflows/build-wheels.yml
vendored
14
.github/workflows/build-wheels.yml
vendored
@ -74,11 +74,11 @@ jobs:
|
|||||||
brew install swig
|
brew install swig
|
||||||
brew install wget
|
brew install wget
|
||||||
|
|
||||||
#- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
# id: cache
|
id: cache
|
||||||
# with:
|
with:
|
||||||
# path: $HDF5_INSTALLDIR
|
path: $HDF5_INSTALLDIR
|
||||||
# key: ${{ matrix.buildplat[0] }}-hdf5
|
key: ${{ matrix.buildplat[0] }}-hdf5
|
||||||
|
|
||||||
- name: install hdf5
|
- name: install hdf5
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
@ -93,7 +93,6 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
./configure CC=gcc-12 --prefix $HDF5_INSTALLDIR --enable-build-mode=production --with-szlib
|
./configure CC=gcc-12 --prefix $HDF5_INSTALLDIR --enable-build-mode=production --with-szlib
|
||||||
echo "PWD is $PWD"
|
|
||||||
make -j3
|
make -j3
|
||||||
make install
|
make install
|
||||||
|
|
||||||
@ -111,6 +110,7 @@ jobs:
|
|||||||
- name: cleanup python
|
- name: cleanup python
|
||||||
run: |
|
run: |
|
||||||
rm -rf src/ tools/
|
rm -rf src/ tools/
|
||||||
|
mv python/test/* .
|
||||||
mv python/* .
|
mv python/* .
|
||||||
|
|
||||||
- name: Build wheels
|
- name: Build wheels
|
||||||
@ -123,7 +123,7 @@ jobs:
|
|||||||
CIBW_BUILD_FRONTEND: "build"
|
CIBW_BUILD_FRONTEND: "build"
|
||||||
CIBW_ENVIRONMENT: H5_CFLAGS="-I/Users/runner/work/trexio/trexio/hdf5/include" H5_LDFLAGS="-L/Users/runner/work/trexio/trexio/hdf5/lib"
|
CIBW_ENVIRONMENT: H5_CFLAGS="-I/Users/runner/work/trexio/trexio/hdf5/include" H5_LDFLAGS="-L/Users/runner/work/trexio/trexio/hdf5/lib"
|
||||||
CIBW_TEST_REQUIRES: pytest
|
CIBW_TEST_REQUIRES: pytest
|
||||||
CIBW_TEST_COMMAND: "python3 -m pytest -v --all test/test_api.py"
|
CIBW_TEST_COMMAND: "python3 -m pytest -v --all test_api.py"
|
||||||
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
|
- uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
|
||||||
|
Loading…
Reference in New Issue
Block a user