Restore the CI logging as before
This commit is contained in:
parent
3e389d01ed
commit
9a637f81e0
|
@ -65,17 +65,9 @@ make $JOBS install
|
|||
cmake .. -DZIG_EXECUTABLE="$(pwd)/release/bin/zig"
|
||||
make $JOBS install
|
||||
|
||||
set +x
|
||||
LOG=$(mktemp)
|
||||
for step in test-toolchain test-std docs; do
|
||||
echo "* Running step: [$step]"
|
||||
if ! release/bin/zig build $step -Denable-qemu -Denable-wasmtime 2>"$LOG" >&2; then
|
||||
cat "$LOG" >&2
|
||||
exit 1
|
||||
fi
|
||||
echo " Done."
|
||||
release/bin/zig build $step -Denable-qemu -Denable-wasmtime
|
||||
done
|
||||
set -x
|
||||
|
||||
# Look for HTML errors.
|
||||
tidy -qe ../zig-cache/langref.html
|
||||
|
|
|
@ -55,17 +55,9 @@ make $JOBS install
|
|||
cmake .. -DZIG_EXECUTABLE="$(pwd)/release/bin/zig" -DZIG_TARGET_MCPU="x86_64_v2"
|
||||
make $JOBS install
|
||||
|
||||
set +x
|
||||
LOG=$(mktemp)
|
||||
for step in test-toolchain test-std docs; do
|
||||
echo "* Running step: [$step]"
|
||||
if ! release/bin/zig build $step 2>"$LOG" >&2; then
|
||||
cat "$LOG" >&2
|
||||
exit 1
|
||||
fi
|
||||
echo " Done."
|
||||
release/bin/zig build $step
|
||||
done
|
||||
set -x
|
||||
|
||||
if [ "${BUILD_REASON}" != "PullRequest" ]; then
|
||||
mv ../LICENSE release/
|
||||
|
|
Loading…
Reference in New Issue
Block a user