Restore the CI logging as before

This commit is contained in:
Frank Denis 2021-05-02 02:07:59 +02:00
parent 3e389d01ed
commit 9a637f81e0
2 changed files with 2 additions and 18 deletions

View File

@ -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

View File

@ -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/