Skip to content

Commit f48f156

Browse files
Oliver Baerclaude
andcommitted
fix(ci): use macos-13 for reliable cross-compilation
- Changed from macos-latest to macos-13 (Intel-based) - Intel runners can reliably cross-compile to both aarch64 and x86_64 - Fixes whisper-rs build issues on ARM64 runners Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 91199d6 commit f48f156

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,10 @@ jobs:
6565
fail-fast: false
6666
matrix:
6767
include:
68-
- platform: macos-latest
68+
# Use macos-13 (Intel) for reliable cross-compilation to both architectures
69+
- platform: macos-13
6970
args: --target aarch64-apple-darwin
70-
- platform: macos-latest
71+
- platform: macos-13
7172
args: --target x86_64-apple-darwin
7273
- platform: ubuntu-22.04
7374
args: ""
@@ -92,7 +93,7 @@ jobs:
9293
- name: Install Rust stable
9394
uses: dtolnay/rust-toolchain@stable
9495
with:
95-
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
96+
targets: ${{ matrix.platform == 'macos-13' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
9697

9798
- name: Install dependencies (Ubuntu)
9899
if: matrix.platform == 'ubuntu-22.04'

0 commit comments

Comments
 (0)