Skip to content

Commit 9736e4e

Browse files
WebKit ARM64 Builderclaude
andcommitted
Simplify CI: Use Scoop for all deps except Ruby
Scoop works fine for cmake, ninja, python, perl, and llvm on ARM64. Only Ruby needs manual installation due to Scoop's ARM64 Ruby issues. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent f1baf9c commit 9736e4e

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -256,30 +256,24 @@ jobs:
256256
steps:
257257
- name: Install dependencies for ARM64 Windows
258258
run: |
259-
# Use Scoop for ARM64-compatible packages
259+
# Install Scoop if not available
260260
if (!(Get-Command scoop -ErrorAction SilentlyContinue)) {
261261
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
262262
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
263263
$env:PATH = "$env:USERPROFILE\scoop\shims;$env:PATH"
264264
echo "$env:USERPROFILE\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
265265
}
266266
267-
# Install ARM64-compatible tools via Scoop
268-
scoop install cmake ninja python
267+
# Install all tools via Scoop except Ruby
268+
scoop install cmake ninja python perl llvm
269269
270-
# Install Ruby manually for ARM64 (Scoop doesn't have ARM64 Ruby)
270+
# Install Ruby manually since Scoop's Ruby fails on ARM64
271271
$rubyUrl = "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.3.6-1/rubyinstaller-devkit-3.3.6-1-x64.exe"
272272
$rubyExe = "$env:TEMP\ruby.exe"
273273
Invoke-WebRequest -Uri $rubyUrl -OutFile $rubyExe
274274
Start-Process -FilePath $rubyExe -ArgumentList "/VERYSILENT", "/NORESTART", "/DIR=C:\Ruby33-x64" -Wait
275275
echo "C:\Ruby33-x64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
276276
277-
# Install Strawberry Perl for x64 (works on ARM64 via emulation)
278-
choco install strawberryperl -y --no-progress
279-
280-
# Install LLVM via Chocolatey (has ARM64 support)
281-
choco install llvm -y --no-progress --version=19.1.4
282-
283277
# Install vcpkg
284278
git clone https://github.com/Microsoft/vcpkg.git C:\vcpkg
285279
cd C:\vcpkg

0 commit comments

Comments
 (0)