From acc74f5e726840d261048a5d4410125d75fddf07 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Thu, 7 Nov 2024 17:16:47 -0500 Subject: [PATCH] CI: Upgrade to macOS 15 For some reason, Microsoft have decided to remove Xcode 16 from macOS 14 images. We require Xcode 16 for Swift 6. See: https://github.com/actions/runner-images/issues/10703 Because macOS 15 images are still in preview, their availability is much lower than macOS 14 images. To hopefully alleviate the amount of time we are waiting in the runner queue, for now this only upgrades the workflow which uses Swift. --- .github/workflows/ci.yml | 2 +- .github/workflows/lagom-template.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a1b637870d..79aa499fe02 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: clang_plugins: true - os_name: 'macOS' - os: macos-14 + os: macos-15 fuzzer: 'NO_FUZZ' toolchain: 'Clang' clang_plugins: false diff --git a/.github/workflows/lagom-template.yml b/.github/workflows/lagom-template.yml index 793ae7c1874..5505bca77d9 100644 --- a/.github/workflows/lagom-template.yml +++ b/.github/workflows/lagom-template.yml @@ -102,7 +102,7 @@ jobs: # https://github.com/actions/runner-images/issues/9330 - name: Enable Microphone Access (macOS 14) - if: ${{ inputs.os == 'macos-14' }} + if: ${{ inputs.os_name == 'macOS' }} run: sqlite3 $HOME/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT OR IGNORE INTO access VALUES ('kTCCServiceMicrophone','/usr/local/opt/runner/provisioner/provisioner',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159,NULL,NULL,'UNUSED',1687786159);" - name: Create Build Environment