Skip to content

Commit 8b7d505

Browse files
committed
Disable CI for non-macOS platforms.
1 parent 094782a commit 8b7d505

File tree

7 files changed

+274
-272
lines changed

7 files changed

+274
-272
lines changed

.circleci/config.yml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -18,50 +18,50 @@ jobs:
1818
command: venv/bin/python ./bin/run_tests.py
1919
no_output_timeout: 30m
2020

21-
linux-python3.12:
22-
docker:
23-
- image: cimg/python:3.12
24-
environment:
25-
PYTHON: python3
26-
# Temporarily restrict the tests that are run on CircleCI to prevent
27-
# test timeouts.
28-
PYTEST_ADDOPTS: -k "unit_test or main_tests or test_0_basic or test_docker_images"
29-
steps:
30-
- checkout
31-
- setup_remote_docker
21+
# linux-python3.12:
22+
# docker:
23+
# - image: cimg/python:3.12
24+
# environment:
25+
# PYTHON: python3
26+
# # Temporarily restrict the tests that are run on CircleCI to prevent
27+
# # test timeouts.
28+
# PYTEST_ADDOPTS: -k "unit_test or main_tests or test_0_basic or test_docker_images"
29+
# steps:
30+
# - checkout
31+
# - setup_remote_docker
3232

33-
- run:
34-
name: Prepare the environment.
35-
command: bash .circleci/prepare.sh
36-
- run:
37-
name: Test.
38-
command: venv/bin/python ./bin/run_tests.py
39-
no_output_timeout: 30m
33+
# - run:
34+
# name: Prepare the environment.
35+
# command: bash .circleci/prepare.sh
36+
# - run:
37+
# name: Test.
38+
# command: venv/bin/python ./bin/run_tests.py
39+
# no_output_timeout: 30m
4040

41-
linux-aarch64:
42-
machine:
43-
image: default
44-
resource_class: arm.medium
45-
environment:
46-
PYTHON: python3
47-
# Temporarily restrict the tests that are run on CircleCI to prevent
48-
# test timeouts.
49-
PYTEST_ADDOPTS: -k "unit_test or main_tests or test_0_basic or test_docker_images"
50-
steps:
51-
- checkout
41+
# linux-aarch64:
42+
# machine:
43+
# image: default
44+
# resource_class: arm.medium
45+
# environment:
46+
# PYTHON: python3
47+
# # Temporarily restrict the tests that are run on CircleCI to prevent
48+
# # test timeouts.
49+
# PYTEST_ADDOPTS: -k "unit_test or main_tests or test_0_basic or test_docker_images"
50+
# steps:
51+
# - checkout
5252

53-
- run:
54-
name: Prepare the environment.
55-
command: bash .circleci/prepare.sh
56-
- run:
57-
name: Test.
58-
command: venv/bin/python ./bin/run_tests.py
59-
no_output_timeout: 30m
53+
# - run:
54+
# name: Prepare the environment.
55+
# command: bash .circleci/prepare.sh
56+
# - run:
57+
# name: Test.
58+
# command: venv/bin/python ./bin/run_tests.py
59+
# no_output_timeout: 30m
6060

6161
workflows:
6262
version: 2
6363
all-tests:
6464
jobs:
6565
- osx-python3.12
66-
- linux-python3.12
67-
- linux-aarch64
66+
# - linux-python3.12
67+
# - linux-aarch64

.cirrus.yml

Lines changed: 74 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -7,82 +7,82 @@ run_tests: &RUN_TESTS
77
run_cibuildwheel_tests_script:
88
- python ./bin/run_tests.py
99

10-
linux_x86_task:
11-
timeout_in: 120m
12-
compute_engine_instance:
13-
image_project: cirrus-images
14-
image: family/docker-builder
15-
platform: linux
16-
cpu: 8
17-
memory: 8G
18-
env:
19-
VENV_ROOT: ${HOME}/venv-cibuildwheel
20-
PATH: ${VENV_ROOT}/bin:${PATH}
21-
install_pre_requirements_script:
22-
- docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
23-
- add-apt-repository -y ppa:deadsnakes/ppa
24-
- apt-get update
25-
- apt-get install -y python3.12-venv
26-
- python3.12 -m venv ${VENV_ROOT}
27-
<<: *RUN_TESTS
10+
# linux_x86_task:
11+
# timeout_in: 120m
12+
# compute_engine_instance:
13+
# image_project: cirrus-images
14+
# image: family/docker-builder
15+
# platform: linux
16+
# cpu: 8
17+
# memory: 8G
18+
# env:
19+
# VENV_ROOT: ${HOME}/venv-cibuildwheel
20+
# PATH: ${VENV_ROOT}/bin:${PATH}
21+
# install_pre_requirements_script:
22+
# - docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
23+
# - add-apt-repository -y ppa:deadsnakes/ppa
24+
# - apt-get update
25+
# - apt-get install -y python3.12-venv
26+
# - python3.12 -m venv ${VENV_ROOT}
27+
# <<: *RUN_TESTS
2828

29-
linux_aarch64_task:
30-
compute_engine_instance:
31-
image_project: cirrus-images
32-
image: family/docker-builder-arm64
33-
architecture: arm64
34-
platform: linux
35-
cpu: 4
36-
memory: 4G
37-
env:
38-
VENV_ROOT: ${HOME}/venv-cibuildwheel
39-
PATH: ${VENV_ROOT}/bin:${PATH}
40-
install_pre_requirements_script:
41-
- docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
42-
- add-apt-repository -y ppa:deadsnakes/ppa
43-
- apt-get update
44-
- apt-get install -y python3.12-venv
45-
- python3.12 -m venv ${VENV_ROOT}
46-
<<: *RUN_TESTS
29+
# linux_aarch64_task:
30+
# compute_engine_instance:
31+
# image_project: cirrus-images
32+
# image: family/docker-builder-arm64
33+
# architecture: arm64
34+
# platform: linux
35+
# cpu: 4
36+
# memory: 4G
37+
# env:
38+
# VENV_ROOT: ${HOME}/venv-cibuildwheel
39+
# PATH: ${VENV_ROOT}/bin:${PATH}
40+
# install_pre_requirements_script:
41+
# - docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
42+
# - add-apt-repository -y ppa:deadsnakes/ppa
43+
# - apt-get update
44+
# - apt-get install -y python3.12-venv
45+
# - python3.12 -m venv ${VENV_ROOT}
46+
# <<: *RUN_TESTS
4747

48-
windows_x86_task:
49-
# The task takes ~55 minutes while the timeout happens
50-
# after 60 minutes by default, let's allow some wiggle room.
51-
timeout_in: 120m
52-
windows_container:
53-
image: cirrusci/windowsservercore:visualstudio2022
54-
cpu: 8
55-
memory: 8G
48+
# windows_x86_task:
49+
# # The task takes ~55 minutes while the timeout happens
50+
# # after 60 minutes by default, let's allow some wiggle room.
51+
# timeout_in: 120m
52+
# windows_container:
53+
# image: cirrusci/windowsservercore:visualstudio2022
54+
# cpu: 8
55+
# memory: 8G
5656

57-
install_pre_requirements_script:
58-
- choco install -y --no-progress python3 --version 3.12.4
59-
- refreshenv
60-
- echo PATH=%PATH% >> "%CIRRUS_ENV%"
61-
<<: *RUN_TESTS
57+
# install_pre_requirements_script:
58+
# - choco install -y --no-progress python3 --version 3.12.4
59+
# - refreshenv
60+
# - echo PATH=%PATH% >> "%CIRRUS_ENV%"
61+
# <<: *RUN_TESTS
6262

63-
macos_arm64_task:
64-
macos_instance:
65-
image: ghcr.io/cirruslabs/macos-runner:sonoma
66-
env:
67-
VENV_ROOT: ${HOME}/venv-cibuildwheel
68-
PATH: ${VENV_ROOT}/bin:${PATH}
69-
install_pre_requirements_script:
70-
- brew install [email protected]
71-
- python3.12 -m venv ${VENV_ROOT}
72-
<<: *RUN_TESTS
63+
# macos_arm64_task:
64+
# macos_instance:
65+
# image: ghcr.io/cirruslabs/macos-runner:sonoma
66+
# env:
67+
# VENV_ROOT: ${HOME}/venv-cibuildwheel
68+
# PATH: ${VENV_ROOT}/bin:${PATH}
69+
# install_pre_requirements_script:
70+
# - brew install [email protected]
71+
# - python3.12 -m venv ${VENV_ROOT}
72+
# <<: *RUN_TESTS
7373

74-
macos_arm64_cp38_task:
75-
macos_instance:
76-
image: ghcr.io/cirruslabs/macos-runner:sonoma
77-
env:
78-
VENV_ROOT: ${HOME}/venv-cibuildwheel
79-
PATH: ${VENV_ROOT}/bin:${PATH}
80-
PYTEST_ADDOPTS: --run-cp38-universal2 -k 'test_cp38_arm64_testing_universal2_installer or test_arch_auto'
81-
install_pre_requirements_script:
82-
- brew install [email protected]
83-
- python3.12 -m venv ${VENV_ROOT}
84-
- curl -fsSLO https://www.python.org/ftp/python/3.8.10/python-3.8.10-macos11.pkg
85-
- sudo installer -pkg python-3.8.10-macos11.pkg -target /
86-
- rm python-3.8.10-macos11.pkg
87-
- sh "/Applications/Python 3.8/Install Certificates.command"
88-
<<: *RUN_TESTS
74+
# macos_arm64_cp38_task:
75+
# macos_instance:
76+
# image: ghcr.io/cirruslabs/macos-runner:sonoma
77+
# env:
78+
# VENV_ROOT: ${HOME}/venv-cibuildwheel
79+
# PATH: ${VENV_ROOT}/bin:${PATH}
80+
# PYTEST_ADDOPTS: --run-cp38-universal2 -k 'test_cp38_arm64_testing_universal2_installer or test_arch_auto'
81+
# install_pre_requirements_script:
82+
# - brew install [email protected]
83+
# - python3.12 -m venv ${VENV_ROOT}
84+
# - curl -fsSLO https://www.python.org/ftp/python/3.8.10/python-3.8.10-macos11.pkg
85+
# - sudo installer -pkg python-3.8.10-macos11.pkg -target /
86+
# - rm python-3.8.10-macos11.pkg
87+
# - sh "/Applications/Python 3.8/Install Certificates.command"
88+
# <<: *RUN_TESTS

0 commit comments

Comments
 (0)