Skip to content

Commit 75c6ab4

Browse files
authored
CI: Update WoA job to use LLVM 20.1.8 and avoid stray preinstalled LLVM19 (#5411)
* Update to 20.1.8 * fix PATH to avoid the obsolete LLVM19 that appeared in the preinstalled msvc folder hierarchy
1 parent 5c5f852 commit 75c6ab4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/windows_arm64.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ on:
44
push:
55
branches:
66
- develop
7-
- release-**
87
pull_request:
98
branches:
109
- develop
11-
- release-**
1210

1311
concurrency:
1412
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -28,10 +26,12 @@ jobs:
2826
- name: Install LLVM for Win-ARM64
2927
shell: pwsh
3028
run: |
31-
Invoke-WebRequest https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.6/LLVM-20.1.6-woa64.exe -UseBasicParsing -OutFile LLVM-woa64.exe
29+
Invoke-WebRequest https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/LLVM-20.1.8-woa64.exe -UseBasicParsing -OutFile LLVM-woa64.exe
3230
Start-Process -FilePath ".\LLVM-woa64.exe" -ArgumentList "/S" -Wait
3331
echo "C:\Program Files\LLVM\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
34-
32+
#dir "C:\Program Files\LLVM\include\flang"
33+
#rmdir /Q /S "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/Llvm/ARM64"
34+
3535
- name: Install CMake and Ninja for Win-ARM64
3636
shell: pwsh
3737
run: |
@@ -47,6 +47,8 @@ jobs:
4747
shell: cmd
4848
run: |
4949
CALL "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsarm64.bat"
50+
set PATH=C:\Program Files\LLVM\bin;%PATH%
51+
5052
mkdir build
5153
cd build
5254
cmake .. -G Ninja ^

0 commit comments

Comments
 (0)