@@ -49,7 +49,7 @@ unset CXX
|
||||
make $JOBS install
|
||||
|
||||
stage3-release/bin/zig build test docs \
|
||||
--zig-lib-dir ../lib \
|
||||
--zig-lib-dir "$(pwd)/../lib" \
|
||||
-Denable-macos-sdk \
|
||||
-Dstatic-llvm \
|
||||
--search-prefix "$PREFIX"
|
||||
|
||||
@@ -60,7 +60,6 @@ jobs:
|
||||
displayName: 'Build'
|
||||
|
||||
- pwsh: |
|
||||
Set-Variable -Name ZIGLIBDIR -Value "$(Get-Location)\lib"
|
||||
Set-Variable -Name ZIGINSTALLDIR -Value "$(Get-Location)\stage3-release"
|
||||
|
||||
function CheckLastExitCode {
|
||||
@@ -72,7 +71,6 @@ jobs:
|
||||
|
||||
& "$ZIGINSTALLDIR\bin\zig.exe" build test docs `
|
||||
--search-prefix "$ZIGPREFIXPATH" `
|
||||
--zig-lib-dir "$ZIGLIBDIR" `
|
||||
-Dstatic-llvm `
|
||||
-Dskip-non-native `
|
||||
-Dskip-stage2-tests
|
||||
|
||||
@@ -56,7 +56,7 @@ ZIG_LIBC="$ZIG_LIBC_TXT" samu install
|
||||
|
||||
# Here we skip some tests to save time.
|
||||
stage3/bin/zig build test docs \
|
||||
--zig-lib-dir ../lib \
|
||||
--zig-lib-dir "$(pwd)/../lib" \
|
||||
-Dstatic-llvm \
|
||||
--search-prefix "$PREFIX" \
|
||||
-Dskip-stage1 \
|
||||
|
||||
@@ -56,7 +56,7 @@ stage3/bin/zig build test \
|
||||
-Dstatic-llvm \
|
||||
-Dtarget=native-native-musl \
|
||||
--search-prefix "$DEPS_LOCAL" \
|
||||
--zig-lib-dir ../lib
|
||||
--zig-lib-dir "$(pwd)/../lib"
|
||||
|
||||
# Explicit exit helps show last command duration.
|
||||
exit
|
||||
|
||||
@@ -41,14 +41,14 @@ ninja install
|
||||
-Dstatic-llvm \
|
||||
-Dtarget=native-native-musl \
|
||||
--search-prefix "$DEPS_LOCAL" \
|
||||
--zig-lib-dir ../lib
|
||||
--zig-lib-dir "$(pwd)/../lib"
|
||||
|
||||
# Produce the experimental std lib documentation.
|
||||
mkdir -p "$RELEASE_STAGING/docs/std"
|
||||
"$RELEASE_STAGING/bin/zig" test ../lib/std/std.zig \
|
||||
-femit-docs=$RELEASE_STAGING/docs/std \
|
||||
-fno-emit-bin \
|
||||
--zig-lib-dir ../lib
|
||||
--zig-lib-dir "$(pwd)/../lib"
|
||||
|
||||
cp ../LICENSE $RELEASE_STAGING/
|
||||
cp ../zig-cache/langref.html $RELEASE_STAGING/docs/
|
||||
|
||||
Reference in New Issue
Block a user