Skip to content

Commit 622ccfa

Browse files
committed
Install LLVM 19 on aarch64 Windows CI
Signed-off-by: Redfire <redfire75369@hotmail.com>
1 parent 913c92a commit 622ccfa

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build.yml

+10
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,16 @@ jobs:
121121
run: |
122122
curl -SL "https://github.com/servo/servo-build-deps/releases/download/msvc-deps/moztools-4.0.zip" --create-dirs -o target/dependencies/moztools.zip
123123
cd target/dependencies && unzip -qo moztools.zip -d .
124+
- name: Install LLVM 19 on aarch64
125+
if: contains(matrix.target, 'aarch64')
126+
run: |
127+
# install due to build errors caused by a bug in llvm 18
128+
# https://github.com/llvm/llvm-project/pull/93235
129+
# remove when windows runner updates to llvm 19
130+
iwr -useb get.scoop.sh -outfile 'install.ps1'
131+
.\install.ps1 -RunAsAdmin
132+
scoop install llvm@19.1.7 --global
133+
echo "C:\ProgramData\scoop\scoop\apps\llvm\current\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
124134
- name: Run sccache-cache
125135
uses: mozilla-actions/sccache-action@v0.0.4
126136
- name: Build Windows

0 commit comments

Comments
 (0)