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 @@...@@ -2,9 +2,6 @@
22
3. ./ci/zinc/linux_base.sh3. ./ci/zinc/linux_base.sh
44
5cp LICENSE $RELEASE_STAGING/
6cp zig-cache/langref.html $RELEASE_STAGING/docs/
7
8# Remove the unnecessary bin dir in $prefix/bin/zig5# Remove the unnecessary bin dir in $prefix/bin/zig
9mv $RELEASE_STAGING/bin/zig $RELEASE_STAGING/6mv $RELEASE_STAGING/bin/zig $RELEASE_STAGING/
10rmdir $RELEASE_STAGING/bin7rmdir $RELEASE_STAGING/bin
ci/zinc/linux_test_stage3_debug.sh+6-15
...@@ -50,21 +50,12 @@ echo "Looking for non-conforming code formatting..."...@@ -50,21 +50,12 @@ echo "Looking for non-conforming code formatting..."
50echo "Formatting errors can be fixed by running 'zig fmt' on the files printed here."50echo "Formatting errors can be fixed by running 'zig fmt' on the files printed here."
51stage3/bin/zig fmt --check . --exclude test/cases/51stage3/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"53stage3/bin/zig build test \
54stage3/bin/zig build test-behavior -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"54 -fqemu \
55stage3/bin/zig build test-std -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"55 -fwasmtime \
56stage3/bin/zig build test-universal-libc -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"56 -Dstatic-llvm \
57stage3/bin/zig build test-compare-output -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"57 -Dtarget=native-native-musl \
58stage3/bin/zig build test-asm-link -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"58 --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"
6859
69# Explicit exit helps show last command duration.60# Explicit exit helps show last command duration.
70exit61exit
ci/zinc/linux_test_stage3_release.sh+5-14
...@@ -58,19 +58,7 @@ cd $WORKSPACE...@@ -58,19 +58,7 @@ cd $WORKSPACE
5858
59ZIG="$RELEASE_STAGING/bin/zig"59ZIG="$RELEASE_STAGING/bin/zig"
6060
61$ZIG build \61$ZIG build test \
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 \
74 -fqemu \62 -fqemu \
75 -fwasmtime \63 -fwasmtime \
76 -Dstatic-llvm \64 -Dstatic-llvm \
...@@ -84,8 +72,11 @@ $ZIG test lib/std/std.zig \...@@ -84,8 +72,11 @@ $ZIG test lib/std/std.zig \
84 -femit-docs=$RELEASE_STAGING/docs/std \72 -femit-docs=$RELEASE_STAGING/docs/std \
85 -fno-emit-bin73 -fno-emit-bin
8674
75cp LICENSE $RELEASE_STAGING/
76cp zig-cache/langref.html $RELEASE_STAGING/docs/
77
87# Look for HTML errors.78# Look for HTML errors.
88tidy --drop-empty-elements no -qe zig-cache/langref.html79tidy --drop-empty-elements no -qe $RELEASE_STAGING/docs/langref.html
8980
90# Explicit exit helps show last command duration.81# Explicit exit helps show last command duration.
91exit82exit