Skip to content

Commit 2e1951a

Browse files
committed
[add 2nd macos-14 CI job, using latest DMD as host compiler, and so an emulated fresh x86_64 DMD build]
1 parent 7cd178d commit 2e1951a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/main.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ jobs:
5757
- job_name: macOS 14 arm64, LDC
5858
os: macos-14
5959
host_dmd: ldc
60+
- job_name: macOS 14 x64, DMD (latest)
61+
os: macos-14
62+
host_dmd: dmd
6063
# Disabled because of failure https://issues.dlang.org/show_bug.cgi?id=24518
6164
# - job_name: macOS 13 x64, DMD (coverage)
6265
# os: macos-13
@@ -79,7 +82,8 @@ jobs:
7982
name: ${{ matrix.job_name }}
8083
runs-on: ${{ matrix.os }}
8184
container: ${{ matrix.container_image }}
82-
timeout-minutes: 40
85+
# for some reason, the compiler testsuite is extremely slow with x86_64 emulation on macos-14 runners
86+
timeout-minutes: ${{ matrix.os == 'macos-14' && 60 || 40 }}
8387
env:
8488
# for ci/run.sh:
8589
OS_NAME: ${{ startsWith(matrix.os, 'ubuntu') && 'linux' || (startsWith(matrix.os, 'macos') && 'osx' || (startsWith(matrix.os, 'windows') && 'windows' || '')) }}
@@ -157,7 +161,7 @@ jobs:
157161
with:
158162
arch: ${{ env.MODEL == '64' && 'x64' || 'x86' }}
159163
- name: 'macOS arm64: Run arm64 smoke test'
160-
if: matrix.os == 'macos-14'
164+
if: matrix.os == 'macos-14' && matrix.host_dmd == 'ldc'
161165
run: |
162166
set -uexo pipefail
163167

0 commit comments

Comments
 (0)