-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
hspark92
committed
Nov 27, 2023
1 parent
5a08be0
commit d93f390
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Build and upload to PyPI | ||
|
||
on: [push, pull_request] | ||
# workflow_dispatch: | ||
# pull_request: | ||
# push: | ||
# branches: | ||
# - main | ||
# release: | ||
# types: | ||
# - published | ||
|
||
jobs: | ||
build_wheels: | ||
name: Build wheels on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04, macos-11, windows-2019] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Build wheels | ||
uses: pypa/cibuildwheel@v2.16.2 | ||
env: | ||
# Build wheels for CPython only, skipping PyPy | ||
CIBW_BUILD: "cp*" | ||
CIBW_SKIP: "*-pp*" | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
path: ./wheelhouse/*.whl |