Skip to content

Commit

Permalink
Ensure that example project can be built using wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
kljohann committed Oct 28, 2024
1 parent 24831d0 commit 5cdeb4b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ jobs:
CIBW_BUILD: cp3*-${{ matrix.platform }}
CIBW_SKIP: cp3{5,6,7,8}*
CIBW_MANYLINUX_X86_64_IMAGE: ghcr.io/kljohann/genpybind-manylinux_2_28_x86_64:llvm-18
CIBW_TEST_COMMAND: genpybind-tool --version
CIBW_TEST_COMMAND: >-
genpybind-tool --version &&
pip install build scikit-build-core pybind11 cmake ninja &&
python -m build --wheel --no-isolation {package}/example-project --outdir ./dist &&
pip install dist/*.whl &&
python -c "from genpybind_example import Example; print(Example.__doc__)"
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 5cdeb4b

Please sign in to comment.