Skip to content

Commit

Permalink
Update build_wheel.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mole authored Dec 4, 2023
1 parent 3c213d1 commit 4588e1d
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,21 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-2019, macos-11]
os: [ubuntu-20.04]
steps:
- uses: actions/checkout@v2

# Used to host cibuildwheel
- uses: actions/setup-python@v2
- uses: actions/setup-python@v3
with:
python-version: 3.10

- name: Install cibuildwheel
run: python -m pip install cibuildwheel

- name: Build wheels
env:
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*"
CIBW_BEFORE_BUILD: "pip install -r build_requirements.txt"
CIBW_ARCHS_WINDOWS: "AMD64"
CIBW_ARCHS_MACOS: "x86_64 arm64"
run: python -m cibuildwheel --output-dir wheelhouse

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
path: ./wheelhouse/*.whl

0 comments on commit 4588e1d

Please sign in to comment.