fix: simplify Bun setup for Windows ARM64 (#965)
oven-sh/setup-bun@v2 (v2.1.1+) now automatically falls back ARM64 to x64 with AVX2 disabled on Windows, making the manual baseline download workaround unnecessary. Ref: https://github.com/oven-sh/setup-bun/pull/131 Ref: https://github.com/oven-sh/setup-bun/issues/130 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f221f834c3
commit
fc05e4aee9
1 changed files with 1 additions and 10 deletions
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
|
@ -77,18 +77,9 @@ jobs:
|
|||
echo "Build profile: release"
|
||||
fi
|
||||
|
||||
- name: Setup Bun (standard)
|
||||
if: ${{ !(contains(inputs.platform, 'windows') && contains(inputs.target, 'aarch64')) }}
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
|
||||
# Bun does not fully support Windows ARM64 yet, so we pin the baseline build.
|
||||
# See https://github.com/oven-sh/bun/issues/9824 for details.
|
||||
- name: Setup Bun (Windows ARM64 baseline)
|
||||
if: ${{ contains(inputs.platform, 'windows') && contains(inputs.target, 'aarch64') }}
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-download-url: "https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64-baseline.zip"
|
||||
|
||||
- name: install Rust stable
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue