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 69e81c1 commit baa4b2a
Showing 1 changed file with 3 additions and 34 deletions.
37 changes: 3 additions & 34 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit baa4b2a

Please sign in to comment.