authorgravatar for kappaloris@gmail.comLoris Cro <kappaloris@gmail.com> 2022-11-29 22:55:04+01:00
committergravatar for kappaloris@gmail.comLoris Cro <kappaloris@gmail.com> 2022-11-29 22:55:04+01:00
log52e1be9c68aba87c1c530461c794b9c87c8a2016
tree14917ddc2b9fa3de0c92a8e3ac31d87eb09d2a90
parent6028adda4bc456d95dada6d1b9b91756ae6b5377

Revert "ci: add markers for collapsing log sections in GH web UI"

This reverts commit 6028adda4bc456d95dada6d1b9b91756ae6b5377.

5 files changed, 6 insertions(+), 31 deletions(-)

ci/linux/build-aarch64.sh-6
......@@ -26,7 +26,6 @@ export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU"
2626rm -rf build-release
2727mkdir build-release
2828cd build-release
29echo "::group:: Build Zig"
3029cmake .. \
3130 -DCMAKE_INSTALL_PREFIX="stage3-release" \
3231 -DCMAKE_PREFIX_PATH="$PREFIX" \
......@@ -42,7 +41,6 @@ unset CC
4241unset CXX
4342
4443ninja install
45echo "::endgroup::"
4644
4745echo "Looking for non-conforming code formatting..."
4846stage3-release/bin/zig fmt --check .. \
......@@ -50,20 +48,16 @@ stage3-release/bin/zig fmt --check .. \
5048 --exclude ../build-release
5149
5250# simultaneously test building self-hosted without LLVM and with 32-bit arm
53echo "::group:: zig build arm32"
5451stage3-release/bin/zig build -Dtarget=arm-linux-musleabihf
55echo "::endgroup::"
5652
5753# TODO: add -fqemu back to this line
5854
59echo "::group:: zig build test docs"
6055stage3-release/bin/zig build test docs \
6156 -fwasmtime \
6257 -Dstatic-llvm \
6358 -Dtarget=native-native-musl \
6459 --search-prefix "$PREFIX" \
6560 --zig-lib-dir "$(pwd)/../lib"
66echo "::endgroup::"
6761
6862# Look for HTML errors.
6963tidy --drop-empty-elements no -qe ../zig-cache/langref.html
ci/linux/build-x86_64-debug.sh-6
......@@ -26,7 +26,6 @@ export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU"
2626rm -rf build-debug
2727mkdir build-debug
2828cd build-debug
29echo "::group:: Build Zig"
3029cmake .. \
3130 -DCMAKE_INSTALL_PREFIX="stage3-debug" \
3231 -DCMAKE_PREFIX_PATH="$PREFIX" \
......@@ -42,7 +41,6 @@ unset CC
4241unset CXX
4342
4443ninja install
45echo "::endgroup::"
4644
4745echo "Looking for non-conforming code formatting..."
4846stage3-debug/bin/zig fmt --check .. \
......@@ -51,13 +49,10 @@ stage3-debug/bin/zig fmt --check .. \
5149 --exclude ../build-release
5250
5351# simultaneously test building self-hosted without LLVM and with 32-bit arm
54echo "::group:: zig build arm32"
5552stage3-debug/bin/zig build -Dtarget=arm-linux-musleabihf
56echo "::endgroup::"
5753
5854# building docs disabled due to:
5955# https://github.com/ziglang/zig/issues/13546
60echo "::group:: zig build test"
6156stage3-debug/bin/zig build test \
6257 -fqemu \
6358 -fwasmtime \
......@@ -65,7 +60,6 @@ stage3-debug/bin/zig build test \
6560 -Dtarget=native-native-musl \
6661 --search-prefix "$PREFIX" \
6762 --zig-lib-dir "$(pwd)/../lib"
68echo "::endgroup::"
6963
7064# langref disabled due to:
7165# https://github.com/ziglang/zig/issues/13546
ci/linux/build-x86_64-release.sh-8
......@@ -26,7 +26,6 @@ export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU"
2626rm -rf build-release
2727mkdir build-release
2828cd build-release
29echo "::group:: Build Zig"
3029cmake .. \
3130 -DCMAKE_INSTALL_PREFIX="stage3-release" \
3231 -DCMAKE_PREFIX_PATH="$PREFIX" \
......@@ -42,7 +41,6 @@ unset CC
4241unset CXX
4342
4443ninja install
45echo "::endgroup::"
4644
4745echo "Looking for non-conforming code formatting..."
4846stage3-release/bin/zig fmt --check .. \
......@@ -51,11 +49,8 @@ stage3-release/bin/zig fmt --check .. \
5149 --exclude ../build-release
5250
5351# simultaneously test building self-hosted without LLVM and with 32-bit arm
54echo "::group:: zig build arm32"
5552stage3-release/bin/zig build -Dtarget=arm-linux-musleabihf
56echo "::endgroup::"
5753
58echo "::group:: zig build test docs"
5954stage3-release/bin/zig build test docs \
6055 -fqemu \
6156 -fwasmtime \
......@@ -63,7 +58,6 @@ stage3-release/bin/zig build test docs \
6358 -Dtarget=native-native-musl \
6459 --search-prefix "$PREFIX" \
6560 --zig-lib-dir "$(pwd)/../lib"
66echo "::endgroup::"
6761
6862# Look for HTML errors.
6963tidy --drop-empty-elements no -qe ../zig-cache/langref.html
......@@ -71,7 +65,6 @@ tidy --drop-empty-elements no -qe ../zig-cache/langref.html
7165# Produce the experimental std lib documentation.
7266stage3-release/bin/zig test ../lib/std/std.zig -femit-docs -fno-emit-bin --zig-lib-dir ../lib
7367
74echo "::group:: zig build stage4"
7568stage3-release/bin/zig build \
7669 --prefix stage4-release \
7770 -Denable-llvm \
......@@ -82,7 +75,6 @@ stage3-release/bin/zig build \
8275 -Dtarget=$TARGET \
8376 -Duse-zig-libcxx \
8477 -Dversion-string="$(stage3-release/bin/zig version)"
85echo "::endgroup::"
8678
8779# diff returns an error code if the files differ.
8880echo "If the following command fails, it means nondeterminism has been"
ci/macos/build-aarch64.sh-5
......@@ -23,7 +23,6 @@ git fetch --tags
2323
2424mkdir build
2525cd build
26echo "::group:: Build Zig"
2726PATH="$HOME/local/bin:$PATH" cmake .. \
2827 -DCMAKE_INSTALL_PREFIX="stage3-release" \
2928 -DCMAKE_PREFIX_PATH="$PREFIX" \
......@@ -36,17 +35,13 @@ PATH="$HOME/local/bin:$PATH" cmake .. \
3635 -GNinja
3736
3837$HOME/local/bin/ninja install
39echo "::endgroup::"
4038
41
42echo "::group:: zig build test docs"
4339stage3-release/bin/zig build test docs \
4440 --zig-lib-dir "$(pwd)/../lib" \
4541 -Denable-macos-sdk \
4642 -Dstatic-llvm \
4743 -Dskip-non-native \
4844 --search-prefix "$PREFIX"
49echo "::endgroup::"
5045
5146# Produce the experimental std lib documentation.
5247stage3-release/bin/zig test ../lib/std/std.zig -femit-docs -fno-emit-bin --zig-lib-dir ../lib
ci/windows/build.ps1+6-6
......@@ -31,7 +31,8 @@ if ((git rev-parse --is-shallow-repository) -eq "true") {
3131 git fetch --unshallow # `git describe` won't work on a shallow repo
3232}
3333
34Write-Output "::group:: Building Zig..."
34Write-Output "Building Zig..."
35
3536& "$ZIGPREFIXPATH\bin\zig.exe" build `
3637 --prefix "$ZIGINSTALLDIR" `
3738 --search-prefix "$ZIGPREFIXPATH" `
......@@ -42,22 +43,21 @@ Write-Output "::group:: Building Zig..."
4243 -Duse-zig-libcxx `
4344 -Dtarget="$TARGET"
4445CheckLastExitCode
45Write-Output "::endgroup::"
4646
47Write-Output "::group:: zig build test docs..."
47Write-Output " zig build test docs..."
48
4849& "$ZIGINSTALLDIR\bin\zig.exe" build test docs `
4950 --search-prefix "$ZIGPREFIXPATH" `
5051 -Dstatic-llvm `
5152 -Dskip-non-native `
5253 -Denable-symlinks-windows
5354CheckLastExitCode
54Write-Output "::endgroup::"
5555
5656# Produce the experimental std lib documentation.
57Write-Output "::group:: zig test std/std.zig..."
57Write-Output "zig test std/std.zig..."
58
5859& "$ZIGINSTALLDIR\bin\zig.exe" test "$ZIGLIBDIR\std\std.zig" `
5960 --zig-lib-dir "$ZIGLIBDIR" `
6061 -femit-docs `
6162 -fno-emit-bin
6263CheckLastExitCode
63Write-Output "::endgroup::"
\ No newline at end of file