Skip to content

Commit 8a8408b

Browse files
WebKit ARM64 Builderclaude
andcommitted
Use Scoop's llvm-arm64 package and add aria2 for parallel downloads
- Use scoop install llvm-arm64 instead of manual installation - Install aria2 first to enable parallel downloads for faster CI - Cleaner architecture-specific package selection 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 20d0390 commit 8a8408b

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -267,20 +267,16 @@ jobs:
267267
echo "$env:USERPROFILE\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
268268
}
269269
270-
# Install tools via Scoop
271-
scoop install cmake ninja python perl
270+
# Install aria2 first for parallel downloads
271+
scoop install aria2
272272
273-
# Install LLVM - use correct architecture version
273+
# Install tools via Scoop
274274
if ($isARM64) {
275-
# Scoop installs x64 LLVM on ARM64, need to manually install ARM64 version
276-
$llvmUrl = "https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.4/LLVM-19.1.4-woa64.exe"
277-
$llvmExe = "$env:TEMP\llvm.exe"
278-
Invoke-WebRequest -Uri $llvmUrl -OutFile $llvmExe
279-
Start-Process -FilePath $llvmExe -ArgumentList "/S", "/D=C:\LLVM" -Wait
280-
echo "C:\LLVM\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
275+
# Use ARM64-specific packages
276+
scoop install cmake ninja python perl llvm-arm64
281277
} else {
282-
# x64 can use Scoop's LLVM
283-
scoop install llvm
278+
# Use x64 packages
279+
scoop install cmake ninja python perl llvm
284280
}
285281
286282
# Install Ruby manually on ARM64 (Scoop's Ruby fails on ARM64)

0 commit comments

Comments
 (0)