mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
parent
6d48357cc7
commit
1122d9d212
@ -4,6 +4,7 @@ $MCPU = "baseline"
|
|||||||
$ZIG_LLVM_CLANG_LLD_URL = "https://ziglang.org/deps/$ZIG_LLVM_CLANG_LLD_NAME.zip"
|
$ZIG_LLVM_CLANG_LLD_URL = "https://ziglang.org/deps/$ZIG_LLVM_CLANG_LLD_NAME.zip"
|
||||||
$PREFIX_PATH = "$(Get-Location)\$ZIG_LLVM_CLANG_LLD_NAME"
|
$PREFIX_PATH = "$(Get-Location)\$ZIG_LLVM_CLANG_LLD_NAME"
|
||||||
$ZIG = "$PREFIX_PATH\bin\zig.exe"
|
$ZIG = "$PREFIX_PATH\bin\zig.exe"
|
||||||
|
$ZIG_LIB_DIR = "$(Get-Location)\lib"
|
||||||
|
|
||||||
Write-Output "Downloading $ZIG_LLVM_CLANG_LLD_URL"
|
Write-Output "Downloading $ZIG_LLVM_CLANG_LLD_URL"
|
||||||
Invoke-WebRequest -Uri "$ZIG_LLVM_CLANG_LLD_URL" -OutFile "$ZIG_LLVM_CLANG_LLD_NAME.zip"
|
Invoke-WebRequest -Uri "$ZIG_LLVM_CLANG_LLD_URL" -OutFile "$ZIG_LLVM_CLANG_LLD_NAME.zip"
|
||||||
@ -52,8 +53,8 @@ CheckLastExitCode
|
|||||||
|
|
||||||
Write-Output "Main test suite..."
|
Write-Output "Main test suite..."
|
||||||
& "stage3-release\bin\zig.exe" build test docs `
|
& "stage3-release\bin\zig.exe" build test docs `
|
||||||
--zig-lib-dir "..\lib" `
|
--zig-lib-dir "$ZIG_LIB_DIR" `
|
||||||
--search-prefix "../$ZIG_LLVM_CLANG_LLD_NAME" `
|
--search-prefix "$PREFIX_PATH" `
|
||||||
-Dstatic-llvm `
|
-Dstatic-llvm `
|
||||||
-Dskip-non-native `
|
-Dskip-non-native `
|
||||||
-Denable-symlinks-windows
|
-Denable-symlinks-windows
|
||||||
@ -61,8 +62,8 @@ CheckLastExitCode
|
|||||||
|
|
||||||
Write-Output "Testing Autodocs..."
|
Write-Output "Testing Autodocs..."
|
||||||
& "stage3-release\bin\zig.exe" test "..\lib\std\std.zig" `
|
& "stage3-release\bin\zig.exe" test "..\lib\std\std.zig" `
|
||||||
--zig-lib-dir "..\lib" `
|
--zig-lib-dir "$ZIG_LIB_DIR" `
|
||||||
-femit-docs `
|
-femit-docs `
|
||||||
-fno-emit-bin
|
-fno-emit-bin
|
||||||
CheckLastExitCode
|
CheckLastExitCode
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user