use llvm 12 for bin

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
Anton-4 2022-09-07 11:55:41 +02:00 committed by GitHub
parent 1d91a3f151
commit a51d86aee3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,11 +33,20 @@ jobs:
- name: zig version
run: zig version
- name: remove pre-installed llvm from path
run: ($env:GITHUB_PATH.Split(';') | Where-Object -FilterScript {$_ -ne 'C:\Program Files\LLVM\bin'}) -join ';' | Set-Content $env:GITHUB_PATH -Encoding utf8
- name: set up llvm
- name: set up llvm 13
run: |
curl.exe -L -O https://github.com/PLC-lang/llvm-package-windows/releases/download/v13.0.0/LLVM-13.0.0-win64.7z
7z x LLVM-13.0.0-win64.7z -oC:/LLVM-13.0.0-win64
- name: set up llvm 12 # we need both 12 and 13 to prevent github.com/roc-lang/roc/issues/3952
run: |
curl.exe -L -O https://github.com/PLC-lang/llvm-package-windows/releases/download/v12.0.1/LLVM-12.0.1-win64.7z
7z x LLVM-12.0.1-win64.7z -oC:/LLVM-12.0.1-win64
@("C:/LLVM-12.0.1-win64/bin") + (Get-Content $env:GITHUB_PATH) | Set-Content $env:GITHUB_PATH
- run: lld-link.exe --version