ci: Update cirrus macOS image to M1-based runners (#14772)

* druntime/test: Force makefile to x86 on Apple ARM cpu (dmd does not support ARM)

* ci: Update cirrus macOS image to M1-based runners

* compiler/test/Makefile: Workaround issue 23517
This commit is contained in:
Iain Buclaw 2023-01-02 20:15:23 +01:00 committed by Petar Kirov
parent f382114888
commit aa19d8a145
3 changed files with 20 additions and 16 deletions

View file

@ -82,38 +82,32 @@ linux_task:
<< : *COMMON_STEPS_TEMPLATE
# Mac
macos12_task:
name: macOS 12.x x64, $TASK_NAME_SUFFIX
osx_instance:
image: monterey-xcode
macos13_task:
name: macOS 13.x x64 (M1), $TASK_NAME_SUFFIX
macos_instance:
image: ghcr.io/cirruslabs/macos-ventura-xcode:latest
timeout_in: 60m
environment:
OS_NAME: darwin
# override Cirrus default OS (`darwin`)
OS: osx
# 12 CPU cores and 24 GB of memory are available
N: 12
# FIXME: Temporarily use LDC until a release with a fix for issue 22942 is available (probably 2.101)
HOST_DMD: ldc
matrix:
- TASK_NAME_SUFFIX: DMD (latest)
- TASK_NAME_SUFFIX: DMD (coverage)
<< : *COVERAGE_ENVIRONMENT_TEMPLATE
<< : *COMMON_STEPS_TEMPLATE
macos11_task:
name: macOS 11.x x64, DMD (bootstrap)
osx_instance:
image: big-sur-xcode
macos12_task:
name: macOS 12.x x64 (M1), DMD (bootstrap)
macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-xcode:latest
timeout_in: 60m
environment:
OS_NAME: darwin
# override Cirrus default OS (`darwin`)
OS: osx
# 12 CPU cores and 24 GB of memory are available
N: 12
# de-facto bootstrap version on OSX
# See: https://forum.dlang.org/post/qfsgt2$1goc$1@digitalmars.com
HOST_DMD: dmd-2.088.0
# See: https://github.com/dlang/dmd/pull/13890
HOST_DMD: dmd-2.099.1
<< : *COMMON_STEPS_TEMPLATE
# FreeBSD