motiejus/zig

fork of https://codeberg.org/ziglang/zig
git clone https://git.jakstys.lt/motiejus/zig.git
Log | Tree | Refs | README | LICENSE

commit 1122d9d212f2147e12675eb86565d63d2b0949a5 (tree)
parent 6d48357cc79a8c6b626cba7152165dfe2d3674d3
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Wed,  7 Dec 2022 02:47:54 -0800

CI: windows: fix zig lib dir path

See #12685

Diffstat:
Mci/x86_64-windows.ps1 | 11++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/ci/x86_64-windows.ps1 b/ci/x86_64-windows.ps1 @@ -4,6 +4,7 @@ $MCPU = "baseline" $ZIG_LLVM_CLANG_LLD_URL = "https://ziglang.org/deps/$ZIG_LLVM_CLANG_LLD_NAME.zip" $PREFIX_PATH = "$(Get-Location)\$ZIG_LLVM_CLANG_LLD_NAME" $ZIG = "$PREFIX_PATH\bin\zig.exe" +$ZIG_LIB_DIR = "$(Get-Location)\lib" Write-Output "Downloading $ZIG_LLVM_CLANG_LLD_URL" 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..." & "stage3-release\bin\zig.exe" build test docs ` - --zig-lib-dir "..\lib" ` - --search-prefix "../$ZIG_LLVM_CLANG_LLD_NAME" ` + --zig-lib-dir "$ZIG_LIB_DIR" ` + --search-prefix "$PREFIX_PATH" ` -Dstatic-llvm ` -Dskip-non-native ` -Denable-symlinks-windows @@ -61,8 +62,8 @@ CheckLastExitCode Write-Output "Testing Autodocs..." & "stage3-release\bin\zig.exe" test "..\lib\std\std.zig" ` - --zig-lib-dir "..\lib" ` - -femit-docs ` - -fno-emit-bin + --zig-lib-dir "$ZIG_LIB_DIR" ` + -femit-docs ` + -fno-emit-bin CheckLastExitCode