mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 16:51:53 +03:00
use llvm 12 for bin
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
parent
1d91a3f151
commit
a51d86aee3
11
.github/workflows/windows.yml
vendored
11
.github/workflows/windows.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user