authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-08-09 02:58:39-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-08-19 16:45:15-07:00
loga73b3a0d70a094514a53aa028ee1321f63d950ab
treed4a925d64e5af5bab2a72c0bc3b14ade79983590
parent06c42a0c68b5e3ce54135738704cc7c6c5b92565

CI: simplify x86 linux test instructions


3 files changed, 11 insertions(+), 32 deletions(-)

ci/zinc/linux_package.sh-3
......@@ -2,9 +2,6 @@
22
33. ./ci/zinc/linux_base.sh
44
5cp LICENSE $RELEASE_STAGING/
6cp zig-cache/langref.html $RELEASE_STAGING/docs/
7
85# Remove the unnecessary bin dir in $prefix/bin/zig
96mv $RELEASE_STAGING/bin/zig $RELEASE_STAGING/
107rmdir $RELEASE_STAGING/bin
ci/zinc/linux_test_stage3_debug.sh+6-15
......@@ -50,21 +50,12 @@ echo "Looking for non-conforming code formatting..."
5050echo "Formatting errors can be fixed by running 'zig fmt' on the files printed here."
5151stage3/bin/zig fmt --check . --exclude test/cases/
5252
53stage3/bin/zig build test-compiler-rt -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"
54stage3/bin/zig build test-behavior -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"
55stage3/bin/zig build test-std -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"
56stage3/bin/zig build test-universal-libc -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"
57stage3/bin/zig build test-compare-output -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"
58stage3/bin/zig build test-asm-link -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"
59stage3/bin/zig build test-fmt -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"
60stage3/bin/zig build test-translate-c -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"
61stage3/bin/zig build test-run-translated-c -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"
62stage3/bin/zig build test-standalone -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"
63stage3/bin/zig build test-cli -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"
64stage3/bin/zig build test-cases -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"
65stage3/bin/zig build test-link -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"
66stage3/bin/zig build test-stack-traces -fqemu -fwasmtime -fstage1
67stage3/bin/zig build docs -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"
53stage3/bin/zig build test \
54 -fqemu \
55 -fwasmtime \
56 -Dstatic-llvm \
57 -Dtarget=native-native-musl \
58 --search-prefix "$DEPS_LOCAL"
6859
6960# Explicit exit helps show last command duration.
7061exit
ci/zinc/linux_test_stage3_release.sh+5-14
......@@ -58,19 +58,7 @@ cd $WORKSPACE
5858
5959ZIG="$RELEASE_STAGING/bin/zig"
6060
61$ZIG build \
62 test-compiler-rt \
63 test-behavior \
64 test-std \
65 test-universal-libc \
66 test-compare-output \
67 test-asm-link \
68 test-translate-c \
69 test-run-translated-c \
70 test-standalone \
71 test-cli \
72 test-cases \
73 test-link \
61$ZIG build test \
7462 -fqemu \
7563 -fwasmtime \
7664 -Dstatic-llvm \
......@@ -84,8 +72,11 @@ $ZIG test lib/std/std.zig \
8472 -femit-docs=$RELEASE_STAGING/docs/std \
8573 -fno-emit-bin
8674
75cp LICENSE $RELEASE_STAGING/
76cp zig-cache/langref.html $RELEASE_STAGING/docs/
77
8778# Look for HTML errors.
88tidy --drop-empty-elements no -qe zig-cache/langref.html
79tidy --drop-empty-elements no -qe $RELEASE_STAGING/docs/langref.html
8980
9081# Explicit exit helps show last command duration.
9182exit