-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update github actions; bump version 2.0a2
- Loading branch information
Showing
16 changed files
with
111 additions
and
60 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
build_and_store_wheels: &BUILD_AND_STORE_WHEELS | ||
install_cibuildwheel_script: | ||
- python -m pip install cibuildwheel==2.17.0 | ||
- python -m pip install cibuildwheel==2.19.2 | ||
run_cibuildwheel_script: | ||
- cibuildwheel | ||
wheels_artifacts: | ||
|
@@ -16,17 +16,23 @@ linux_aarch64_task: | |
cpu: 4 | ||
memory: 4G | ||
env: | ||
CIBW_ARCHS_LINUX: aarch64 | ||
VENV_ROOT: ${HOME}/venv-cibuildwheel | ||
PATH: ${VENV_ROOT}/bin:${PATH} | ||
install_pre_requirements_script: | ||
- apt install -y python3-venv python-is-python3 | ||
- add-apt-repository -y ppa:deadsnakes/ppa | ||
- apt-get update | ||
- apt-get install -y python3.12-venv | ||
- python3.12 -m venv ${VENV_ROOT} | ||
<<: *BUILD_AND_STORE_WHEELS | ||
|
||
macos_arm64_task: | ||
name: Build macOS arm64 wheels. | ||
macos_instance: | ||
image: ghcr.io/cirruslabs/macos-sonoma-xcode | ||
image: ghcr.io/cirruslabs/macos-runner:sonoma | ||
env: | ||
PATH: /opt/homebrew/opt/[email protected]/libexec/bin:$PATH | ||
VENV_ROOT: ${HOME}/venv-cibuildwheel | ||
PATH: ${VENV_ROOT}/bin:${PATH} | ||
install_pre_requirements_script: | ||
- brew install [email protected] | ||
- brew install [email protected] | ||
- python3.12 -m venv ${VENV_ROOT} | ||
<<: *BUILD_AND_STORE_WHEELS |
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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
name: Build wheels | ||
|
||
on: [push, pull_request] | ||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: '0 12 * * 0' | ||
|
||
jobs: | ||
build_wheels_linux_x86_64: | ||
|
@@ -20,7 +24,7 @@ jobs: | |
name: dist_linux | ||
path: ./wheelhouse/*.whl | ||
|
||
build_wheels_macos_x86_64: | ||
build_wheels_macos12_x86_64: | ||
name: Build x86_64 wheels on macos-12 | ||
runs-on: macos-12 | ||
|
||
|
@@ -34,7 +38,24 @@ jobs: | |
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: dist_macos | ||
name: dist_macos12_x86_64 | ||
path: ./wheelhouse/*.whl | ||
|
||
build_wheels_macos14_arm64: | ||
name: Build arm64 wheels on macos-14 | ||
runs-on: macos-14 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS_MACOS: arm64 | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: dist_macos14_arm64 | ||
path: ./wheelhouse/*.whl | ||
|
||
build_sdist: | ||
|
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
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
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
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
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
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
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
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
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
Oops, something went wrong.