diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d75643..46053c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,12 +16,15 @@ concurrency: jobs: macos-unit-tests: name: macOS Build & Test - runs-on: macos-26 + runs-on: xcode-27 steps: - name: Checkout uses: actions/checkout@v7 + - name: Install Metal toolchain + run: xcodebuild -downloadComponent MetalToolchain + - name: Run unit tests (macOS) run: | xcodebuild test \ @@ -43,12 +46,15 @@ jobs: ios-build: name: iOS Build - runs-on: macos-26 + runs-on: xcode-27 steps: - name: Checkout uses: actions/checkout@v7 + - name: Install Metal toolchain + run: xcodebuild -downloadComponent MetalToolchain + - name: Build app (iOS Simulator) run: | xcodebuild build \ @@ -62,12 +68,15 @@ jobs: mas-build: name: Mac App Store Build - runs-on: macos-26 + runs-on: xcode-27 steps: - name: Checkout uses: actions/checkout@v7 + - name: Install Metal toolchain + run: xcodebuild -downloadComponent MetalToolchain + # Keeps the Sparkle-free target compiling: this build has no Sparkle # package linked, so every canImport(Sparkle) guard must hold. - name: Build app (Mac App Store target) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e0442ce..2ea8ff3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,12 +10,15 @@ permissions: jobs: release: - runs-on: macos-26 + runs-on: xcode-27 steps: - name: Checkout uses: actions/checkout@v7 + - name: Install Metal toolchain + run: xcodebuild -downloadComponent MetalToolchain + - name: Validate release version env: RELEASE_TAG: ${{ github.ref_name }}