1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-10-02 06:21:05 +02:00

[wheel build] Test macos wheels

This commit is contained in:
q-posev 2024-08-17 20:02:26 +02:00
parent 69e81c1032
commit baa4b2a428

View File

@ -82,8 +82,9 @@ jobs:
CIBW_BEFORE_BUILD: >
cd tools &&
./prepare_python.sh &&
cd ../python
CIBW_BUILD_VERBOSITY: 1
rm -rf ../src/ ../tools/ &&
mv ../python/* ..
CIBW_BUILD_VERBOSITY: 3
CIBW_BUILD_FRONTEND: "build"
CIBW_ENVIRONMENT_LINUX: H5_CFLAGS="-I$(brew --prefix hdf5)/include" H5_LDFLAGS="-L$(brew --prefix hdf5)/lib"
CIBW_TEST_REQUIRES: pytest
@ -95,38 +96,6 @@ jobs:
name: ${{ matrix.python }}-${{ matrix.buildplat[1] }}
path: ./wheelhouse/*.whl
- name: configure with autotools
run: |
./autogen.sh
./configure FC=gfortran-12 --enable-silent-rules
- name: compile TREXIO
run: make -j3
- name: check TREXIO
run: make -j3 check
- name: create venv
run: |
python3 -m venv trexio-venv
source trexio-venv/bin/activate
- name: compile Python API
run: |
- name: test Python API
run: |
source trexio-venv/bin/activate
make python-test
- name: Archive test log file
if: failure()
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2
with:
name: test-report-macos
path: test-suite.log
# build_linux_wheels: