-
Notifications
You must be signed in to change notification settings - Fork 238
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
Showing
6 changed files
with
54 additions
and
41 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 |
---|---|---|
|
@@ -2,11 +2,11 @@ only_if: changesInclude('.cirrus.yml') || ($CIRRUS_BRANCH == "main" && !changesI | |
|
||
run_tests: &RUN_TESTS | ||
install_cibuildwheel_script: | ||
- python -V | ||
- python -m pip install -e ".[dev]" pytest-custom-exit-code | ||
run_cibuildwheel_tests_script: | ||
- python ./bin/run_tests.py | ||
|
||
|
||
linux_x86_task: | ||
timeout_in: 120m | ||
compute_engine_instance: | ||
|
@@ -15,9 +15,14 @@ linux_x86_task: | |
platform: linux | ||
cpu: 8 | ||
memory: 8G | ||
|
||
env: | ||
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} | ||
<<: *RUN_TESTS | ||
|
||
linux_aarch64_task: | ||
|
@@ -28,9 +33,14 @@ linux_aarch64_task: | |
platform: linux | ||
cpu: 4 | ||
memory: 4G | ||
|
||
env: | ||
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} | ||
<<: *RUN_TESTS | ||
|
||
windows_x86_task: | ||
|
@@ -43,30 +53,32 @@ windows_x86_task: | |
memory: 8G | ||
|
||
install_pre_requirements_script: | ||
- choco install -y --no-progress python3 --version 3.10.6 | ||
- choco install -y --no-progress python3 --version 3.12.4 | ||
- refreshenv | ||
- echo PATH=%PATH% >> "%CIRRUS_ENV%" | ||
<<: *RUN_TESTS | ||
|
||
macos_arm64_task: | ||
macos_instance: | ||
image: ghcr.io/cirruslabs/macos-sonoma-xcode | ||
|
||
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} | ||
<<: *RUN_TESTS | ||
|
||
macos_arm64_cp38_task: | ||
macos_instance: | ||
image: ghcr.io/cirruslabs/macos-sonoma-xcode | ||
|
||
env: | ||
PATH: /opt/homebrew/opt/[email protected]/libexec/bin:$PATH | ||
VENV_ROOT: ${HOME}/venv-cibuildwheel | ||
PATH: ${VENV_ROOT}/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] | ||
- brew install [email protected] | ||
- python3.12 -m venv ${VENV_ROOT} | ||
- 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
This is a summary of the host Python versions and platforms covered by the different CI platforms: | ||
|
||
| | 3.8 | 3.9 | 3.10 | 3.11 | 3.12 | | ||
|---------|----------------------------------------------|-----------|-----------|---------|--------------------------------------| | ||
| Linux | AppVeyor¹ / Azure Pipelines / GitHub Actions | Travis CI | Cirrus CI | | CircleCI¹ / GitHub Actions / GitLab¹ | | ||
| macOS | AppVeyor¹ / Azure Pipelines | | Cirrus CI | GitLab¹ | CircleCI¹ / GitHub Actions | | ||
| Windows | AppVeyor¹ / Azure Pipelines | Travis CI | Cirrus CI | | GitHub Actions / GitLab¹ | | ||
| | 3.11 | 3.12 | 3.13 | | ||
|---------|----------------------------------------------|---------------------------------------------|----------------| | ||
| Linux | Azure Pipelines / GitHub Actions / Travis CI | AppVeyor¹ / CircleCI¹ / Cirrus CI / GitLab¹ | GitHub Actions | | ||
| macOS | Azure Pipelines / GitLab¹ | AppVeyor¹ / CircleCI¹ / Cirrus CI / GitLab¹ | GitHub Actions | | ||
| Windows | Azure Pipelines / Travis CI | AppVeyor¹ / Cirrus CI / GitLab¹ | GitHub Actions | | ||
|
||
> ¹ Runs a reduced set of tests to reduce CI load | ||
Non-x86 architectures are covered on Travis CI using Python 3.9. | ||
Non-x86 architectures are covered on Travis CI using Python 3.11. |
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