fix(ci): CircleCI / Azure Pipelines / GitLab (#1899)

* fix(ci): CircleCI

CircleCI does not support Intel macOS runners anymore.
c.f. https://discuss.circleci.com/t/macos-intel-support-deprecation-in-january-2024/48718

* fix(ci): Azure Pipelines

* fix(ci): GitLab
This commit is contained in:
Matthieu Darbois
2024-06-29 14:12:13 -04:00
committed by GitHub
parent 08165ffeed
commit 184d4e1280
8 changed files with 30 additions and 25 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
inputs: {pathtoPublish: 'wheelhouse'}
- job: macos
pool: {vmImage: 'macOS-11'}
pool: {vmImage: 'macOS-12'}
steps:
- task: UsePythonVersion@0
- bash: |
+5 -3
View File
@@ -4,14 +4,14 @@ jobs:
linux-wheels:
working_directory: ~/linux-wheels
docker:
- image: circleci/python:3.9
- image: cimg/python:3.12
steps:
- checkout
- setup_remote_docker
- run:
name: Build the Linux wheels.
command: |
pip3 install --user cibuildwheel==2.19.1
python3 -m pip install --user cibuildwheel==2.19.1
cibuildwheel --output-dir wheelhouse
- store_artifacts:
path: wheelhouse/
@@ -36,12 +36,14 @@ jobs:
osx-wheels:
working_directory: ~/osx-wheels
macos:
xcode: 12.5.1
xcode: 15.4.0
resource_class: macos.m1.medium.gen1
steps:
- checkout
- run:
name: Build the OS X wheels.
command: |
sudo softwareupdate --install-rosetta --agree-to-license # for python<=3.8 or x86_64/universal2 tests
pip3 install cibuildwheel==2.19.1
cibuildwheel --output-dir wheelhouse
- store_artifacts:
+3 -3
View File
@@ -1,5 +1,5 @@
linux:
image: python:3.8
image: python:3.12
# make a docker daemon available for cibuildwheel to use
services:
- name: docker:dind
@@ -21,7 +21,7 @@ linux:
windows:
image: mcr.microsoft.com/windows/servercore:1809
before_script:
- choco install python -y --version 3.8.6
- choco install python -y --version 3.12.4
- choco install git.install -y
- py -m pip install cibuildwheel==2.19.1
script:
@@ -30,4 +30,4 @@ windows:
paths:
- wheelhouse/
tags:
- windows
- saas-windows-medium-amd64