retry
This commit is contained in:
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -17,15 +17,21 @@ jobs:
|
||||
with:
|
||||
version: master # pin to a specific version once stable
|
||||
|
||||
- name: Download LLVM 18
|
||||
run: |
|
||||
Invoke-WebRequest -Uri "https://github.com/vovkos/llvm-package-windows/releases/download/llvm-18.1.8/llvm-18.1.8-windows-amd64-msvc17-msvcrt.7z" -OutFile "$env:TEMP\llvm.7z"
|
||||
7z x "$env:TEMP\llvm.7z" -oC:\LLVM
|
||||
|
||||
- name: Verify LLVM
|
||||
run: |
|
||||
& "C:\Program Files\LLVM\bin\llvm-config.exe" --version
|
||||
Get-ChildItem C:\LLVM -Recurse -Name "*.lib" | Select-Object -First 5
|
||||
Get-ChildItem C:\LLVM -Directory
|
||||
|
||||
- name: Build
|
||||
run: zig build -Dstatic-llvm -Dllvm-prefix="C:\Program Files\LLVM"
|
||||
run: zig build -Dstatic-llvm -Dllvm-prefix="C:\LLVM\llvm-18.1.8-windows-amd64-msvc17-msvcrt"
|
||||
|
||||
- name: Test
|
||||
run: zig build test -Dstatic-llvm -Dllvm-prefix="C:\Program Files\LLVM"
|
||||
run: zig build test -Dstatic-llvm -Dllvm-prefix="C:\LLVM\llvm-18.1.8-windows-amd64-msvc17-msvcrt"
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user