authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-04-16 03:41:33-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-04-21 11:20:26-07:00
logebfddbaf0038c62f9560a8bf7134b401fb0e4d19
tree02cfc49154e1eedf4d142238ba91794f335857b5
parent42ed34d1f6a1f6487981749eb6c31deba198aa67

CI: additionally test building stage3


1 files changed, 5 insertions(+), 3 deletions(-)

ci/zinc/linux_test.sh+5-3
......@@ -48,7 +48,10 @@ cd $WORKSPACE
4848$ZIG fmt --check . --exclude test/compile_errors/
4949
5050# Build stage2 standalone so that we can test stage2 against stage2 compiler-rt.
51$ZIG build -p stage2 -Denable-llvm -Duse-zig-libcxx
51$ZIG build -p stage2 -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"
52
53# Ensure that stage2 can build itself.
54./stage2/bin/zig build -p stage3 -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"
5255
5356stage2/bin/zig test test/behavior.zig -I test -fLLVM
5457stage2/bin/zig test test/behavior.zig -I test -fno-LLVM
......@@ -95,8 +98,7 @@ tidy --drop-empty-elements no -qe zig-cache/langref.html
9598$ZIG build \
9699 --prefix "$RELEASE_STAGING" \
97100 --search-prefix "$DEPS_LOCAL" \
98 -Denable-llvm \
99 -Duse-zig-libcxx \
101 -Dstatic-llvm \
100102 -Drelease \
101103 -Dstrip \
102104 -Dtarget="$TARGET" \