Skip to content

Commit d2e19a3

Browse files
ochafikclaude
andcommitted
ci: enable Windows ARM64 with x64-baseline Bun (via emulation)
Windows ARM64 can run x64 binaries via emulation. Use bun-download-url to force x64-baseline build since native ARM64 Bun isn't available yet. Reference: oven-sh/bun#9824 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent c721e0a commit d2e19a3

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ jobs:
1818
name: Linux ARM64
1919
- os: windows-latest
2020
name: Windows x64
21-
# Windows ARM64 disabled: Bun doesn't have stable ARM64 binaries yet (setup-bun fails with 404)
22-
# - os: windows-11-arm
23-
# name: Windows ARM64
21+
- os: windows-11-arm
22+
name: Windows ARM64
23+
# Use x64-baseline build via emulation (native ARM64 not yet available)
24+
bun-download-url: https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64-baseline.zip
2425
- os: macos-latest
2526
name: macOS ARM64
2627
- os: macos-13
@@ -39,6 +40,7 @@ jobs:
3940
- uses: oven-sh/setup-bun@v2
4041
with:
4142
bun-version: latest
43+
bun-download-url: ${{ matrix.bun-download-url }}
4244

4345
- uses: actions/setup-node@v4
4446
with:
@@ -109,9 +111,9 @@ jobs:
109111
name: Linux ARM64
110112
- os: windows-latest
111113
name: Windows x64
112-
# Windows ARM64 disabled: Bun doesn't have stable ARM64 binaries yet (setup-bun fails with 404)
113-
# - os: windows-11-arm
114-
# name: Windows ARM64
114+
- os: windows-11-arm
115+
name: Windows ARM64
116+
bun-download-url: https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64-baseline.zip
115117
- os: macos-latest
116118
name: macOS ARM64
117119

@@ -122,6 +124,7 @@ jobs:
122124
- uses: oven-sh/setup-bun@v2
123125
with:
124126
bun-version: latest
127+
bun-download-url: ${{ matrix.bun-download-url }}
125128

126129
- uses: actions/setup-node@v4
127130
with:

0 commit comments

Comments
 (0)