Skip to content

Commit f3be3a8

Browse files
committed
feat: add macOS on GitLab
1 parent 5781e28 commit f3be3a8

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

.gitlab-ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,13 @@ windows:
2929
- py bin\run_tests.py
3030
tags:
3131
- saas-windows-medium-amd64
32+
33+
macos:
34+
image: macos-14-xcode-15
35+
variables:
36+
PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code
37+
script:
38+
- python3 -m pip install -e ".[dev]" pytest-custom-exit-code
39+
- python3 ./bin/run_tests.py
40+
tags:
41+
- saas-macos-medium-m1

CI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This is a summary of the host Python versions and platforms covered by the diffe
33
| | 3.11 | 3.12 | 3.13 |
44
|---------|----------------------------------|---------------------------------------------------------|----------------|
55
| Linux | Azure Pipelines / GitHub Actions | AppVeyor¹ / CircleCI¹ / Cirrus CI / GitLab¹ / Travis CI | GitHub Actions |
6-
| macOS | Azure Pipelines | AppVeyor¹ / CircleCI¹ / Cirrus CI / GitLab¹ / Travis CI | GitHub Actions |
6+
| macOS | Azure Pipelines / GitLab¹ | AppVeyor¹ / CircleCI¹ / Cirrus CI / GitLab¹ / Travis CI | GitHub Actions |
77
| Windows | Azure Pipelines | AppVeyor¹ / Cirrus CI / GitLab¹ / Travis CI | GitHub Actions |
88

99
> ¹ Runs a reduced set of tests to reduce CI load

examples/gitlab-minimal.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,15 @@ windows:
3131
- wheelhouse/
3232
tags:
3333
- saas-windows-medium-amd64
34+
35+
macos:
36+
image: macos-14-xcode-15
37+
before_script:
38+
- python3 -m pip install cibuildwheel==2.19.1
39+
script:
40+
- python3 -m cibuildwheel --output-dir wheelhouse
41+
artifacts:
42+
paths:
43+
- wheelhouse/
44+
tags:
45+
- saas-macos-medium-m1

0 commit comments

Comments
 (0)