Test build wheels #43
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test build wheels | |
on: | |
workflow_dispatch: | |
jobs: | |
build_linux_wheels: | |
name: Build wheels on standard linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v3 | |
- name: Install cibuildwheel | |
run: python -m pip install cibuildwheel==2.16.5 | |
- name: Build wheels | |
run: python -m cibuildwheel --output-dir wheelhouse | |
env: | |
CIBW_BUILD: "*manylinux*" | |
CIBW_SKIP: cp36* cp37* pp* | |
CIBW_BUILD_VERBOSITY: 3 | |
CIBW_BEFORE_BUILD: pip install -U pybind11-global | |
CIBW_BEFORE_TEST: pip install -U -r test_requirements.txt | |
CIBW_TEST_COMMAND: pytest --skip_gha {package}/tests | |
- uses: actions/upload-artifact@v3 | |
with: | |
path: ./wheelhouse/*.whl | |
# build_musl_wheels: | |
# name: Build wheels on musl linux | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: actions/setup-python@v3 | |
# - name: Install cibuildwheel | |
# run: python -m pip install cibuildwheel==2.16.5 | |
# - name: Build wheels | |
# run: python -m cibuildwheel --output-dir wheelhouse | |
# env: | |
# CIBW_BUILD: "*musllinux*" | |
# CIBW_SKIP: cp36* cp37* pp* | |
# CIBW_BUILD_VERBOSITY: 3 | |
# CIBW_BEFORE_BUILD: pip install -U pybind11-global | |
# - uses: actions/upload-artifact@v3 | |
# with: | |
# path: ./wheelhouse/*.whl | |
# build_macosx_wheels: | |
# name: Build wheels on macosx | |
# runs-on: macos-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: actions/setup-python@v3 | |
# - name: Install cibuildwheel | |
# run: python -m pip install cibuildwheel==2.16.5 | |
# - name: Build wheels | |
# run: python -m cibuildwheel --output-dir wheelhouse | |
# env: | |
# CIBW_BUILD: "*macosx*" | |
# CIBW_SKIP: cp36* cp37* pp* | |
# CIBW_BUILD_VERBOSITY: 3 | |
# CIBW_BEFORE_BUILD: pip install -U pybind11-global && brew install libomp | |
# CIBW_BEFORE_TEST: pip install -U -r test_requirements.txt | |
# CIBW_TEST_COMMAND: pytest --skip_gha {package}/tests | |
# - uses: actions/upload-artifact@v3 | |
# with: | |
# path: ./wheelhouse/*.whl | |