-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix executable name, that doesn't always exist on windows * Use the `python3` executable on macOS Cirrus * Homebrew changed where it puts the python binaries * Update examples to match new config
- Loading branch information
Showing
4 changed files
with
10 additions
and
14 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,4 +1,4 @@ | ||
only_if: changesInclude('.cirrus.yml') || ($BRANCH == "main" && !changesIncludeOnly('docs/*', '.pre-commit-config.yaml')) | ||
only_if: changesInclude('.cirrus.yml') || ($CIRRUS_BRANCH == "main" && !changesIncludeOnly('docs/*', '.pre-commit-config.yaml')) || $CIRRUS_BRANCH =~ 'cirrus.*' | ||
|
||
run_tests: &RUN_TESTS | ||
install_cibuildwheel_script: | ||
|
@@ -50,25 +50,23 @@ windows_x86_task: | |
|
||
macos_arm64_task: | ||
macos_instance: | ||
image: ghcr.io/cirruslabs/macos-monterey-xcode | ||
image: ghcr.io/cirruslabs/macos-sonoma-xcode | ||
|
||
env: | ||
PATH: /opt/homebrew/opt/[email protected]/bin:$PATH | ||
PATH: /opt/homebrew/opt/[email protected]/libexec/bin:$PATH | ||
install_pre_requirements_script: | ||
- brew install [email protected] | ||
- ln -s python3 /opt/homebrew/opt/[email protected]/bin/python | ||
<<: *RUN_TESTS | ||
|
||
macos_arm64_cp38_task: | ||
macos_instance: | ||
image: ghcr.io/cirruslabs/macos-monterey-xcode | ||
image: ghcr.io/cirruslabs/macos-sonoma-xcode | ||
|
||
env: | ||
PATH: /opt/homebrew/opt/[email protected]/bin:$PATH | ||
PATH: /opt/homebrew/opt/[email protected]/libexec/bin:$PATH | ||
PYTEST_ADDOPTS: --run-cp38-universal2 -k 'test_cp38_arm64_testing_universal2_installer or test_arch_auto' | ||
install_pre_requirements_script: | ||
- brew install [email protected] | ||
- ln -s python3 /opt/homebrew/opt/[email protected]/bin/python | ||
- curl -fsSLO https://www.python.org/ftp/python/3.8.10/python-3.8.10-macos11.pkg | ||
- sudo installer -pkg python-3.8.10-macos11.pkg -target / | ||
- rm python-3.8.10-macos11.pkg | ||
|
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 |
---|---|---|
|
@@ -10,12 +10,11 @@ build_and_store_wheels: &BUILD_AND_STORE_WHEELS | |
macos_task: | ||
name: Build macOS x86_64 and arm64 wheels. | ||
macos_instance: | ||
image: ghcr.io/cirruslabs/macos-monterey-xcode | ||
image: ghcr.io/cirruslabs/macos-sonoma-xcode | ||
|
||
env: | ||
PATH: /opt/homebrew/opt/[email protected]/bin:$PATH | ||
PATH: /opt/homebrew/opt/[email protected]/libexec/bin:$PATH | ||
CIBW_ARCHS_MACOS: x86_64 arm64 | ||
install_pre_requirements_script: | ||
- brew install [email protected] | ||
- ln -s python3 /opt/homebrew/opt/[email protected]/bin/python | ||
<<: *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 |
---|---|---|
|
@@ -50,11 +50,10 @@ windows_x86_task: | |
macos_arm64_task: | ||
name: Build macOS arm64 wheels. | ||
macos_instance: | ||
image: ghcr.io/cirruslabs/macos-monterey-xcode | ||
image: ghcr.io/cirruslabs/macos-sonoma-xcode | ||
|
||
env: | ||
PATH: /opt/homebrew/opt/[email protected]/bin:$PATH | ||
PATH: /opt/homebrew/opt/[email protected]/libexec/bin:$PATH | ||
install_pre_requirements_script: | ||
- brew install [email protected] | ||
- ln -s python3 /opt/homebrew/opt/[email protected]/bin/python | ||
<<: *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