Skip to content

Commit f0ce959

Browse files
committed
ci(linux): build the macOS companion on macos-15
tauri-plugin-notifications' Swift sources use typed throws (`throws(FFIResult)`), which requires Swift 6. The macos-14 runner image still ships Swift 5.x and cannot parse them, so the plugin's build script panics with "Swift build failed for target: arm64-apple-macosx13.0". This hit the new per-PR check immediately, and it means the release workflow's `build_macos` job could not have produced a macOS bundle either - it compiles the same crate on the same image, but only runs behind a manual dispatch input so nothing surfaced it. Move both to macos-15.
1 parent 2caf4dd commit f0ce959

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

‎.github/workflows/linux-app-release.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,10 @@ jobs:
163163
name: Build unsigned macOS test bundles
164164
if: ${{ inputs['desktop-test-bundles'] }}
165165
needs: validate_release
166-
runs-on: macos-14
166+
# macos-15, not macos-14: tauri-plugin-notifications' Swift sources use
167+
# typed throws (`throws(FFIResult)`), which needs Swift 6. The macos-14
168+
# image still ships Swift 5.x, so this job could not build the plugin.
169+
runs-on: macos-15
167170
timeout-minutes: 45
168171
steps:
169172
- name: Checkout selected tag

‎.github/workflows/linux-app.yml‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,12 @@ jobs:
9696
# compiles them (linux-app-release.yml build_macos) runs behind a manual
9797
# dispatch input. Without a per-PR check, a macOS-gated Tauri API can break
9898
# the macOS target for weeks unnoticed - `WebviewWindowBuilder::transparent`
99-
# did exactly that. Match that job's runner so this proves the same target.
100-
runs-on: macos-14
99+
# did exactly that.
100+
#
101+
# macos-15, not macos-14: tauri-plugin-notifications' Swift sources use
102+
# typed throws (`throws(FFIResult)`), which needs Swift 6. The macos-14
103+
# image still ships Swift 5.x and fails to parse them.
104+
runs-on: macos-15
101105
timeout-minutes: 30
102106
steps:
103107
- name: Checkout

0 commit comments

Comments
 (0)