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

This reverts commit 6028adda4bc456d95dada6d1b9b91756ae6b5377.
This commit is contained in:
Loris Cro 2022-11-29 22:55:04 +01:00
parent 6028adda4b
commit 52e1be9c68
5 changed files with 6 additions and 31 deletions

View File

@ -26,7 +26,6 @@ export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU"
rm -rf build-release
mkdir build-release
cd build-release
echo "::group:: Build Zig"
cmake .. \
-DCMAKE_INSTALL_PREFIX="stage3-release" \
-DCMAKE_PREFIX_PATH="$PREFIX" \
@ -42,7 +41,6 @@ unset CC
unset CXX
ninja install
echo "::endgroup::"
echo "Looking for non-conforming code formatting..."
stage3-release/bin/zig fmt --check .. \
@ -50,20 +48,16 @@ stage3-release/bin/zig fmt --check .. \
--exclude ../build-release
# simultaneously test building self-hosted without LLVM and with 32-bit arm
echo "::group:: zig build arm32"
stage3-release/bin/zig build -Dtarget=arm-linux-musleabihf
echo "::endgroup::"
# TODO: add -fqemu back to this line
echo "::group:: zig build test docs"
stage3-release/bin/zig build test docs \
-fwasmtime \
-Dstatic-llvm \
-Dtarget=native-native-musl \
--search-prefix "$PREFIX" \
--zig-lib-dir "$(pwd)/../lib"
echo "::endgroup::"
# Look for HTML errors.
tidy --drop-empty-elements no -qe ../zig-cache/langref.html

View File

@ -26,7 +26,6 @@ export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU"
rm -rf build-debug
mkdir build-debug
cd build-debug
echo "::group:: Build Zig"
cmake .. \
-DCMAKE_INSTALL_PREFIX="stage3-debug" \
-DCMAKE_PREFIX_PATH="$PREFIX" \
@ -42,7 +41,6 @@ unset CC
unset CXX
ninja install
echo "::endgroup::"
echo "Looking for non-conforming code formatting..."
stage3-debug/bin/zig fmt --check .. \
@ -51,13 +49,10 @@ stage3-debug/bin/zig fmt --check .. \
--exclude ../build-release
# simultaneously test building self-hosted without LLVM and with 32-bit arm
echo "::group:: zig build arm32"
stage3-debug/bin/zig build -Dtarget=arm-linux-musleabihf
echo "::endgroup::"
# building docs disabled due to:
# https://github.com/ziglang/zig/issues/13546
echo "::group:: zig build test"
stage3-debug/bin/zig build test \
-fqemu \
-fwasmtime \
@ -65,7 +60,6 @@ stage3-debug/bin/zig build test \
-Dtarget=native-native-musl \
--search-prefix "$PREFIX" \
--zig-lib-dir "$(pwd)/../lib"
echo "::endgroup::"
# langref disabled due to:
# https://github.com/ziglang/zig/issues/13546

View File

@ -26,7 +26,6 @@ export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU"
rm -rf build-release
mkdir build-release
cd build-release
echo "::group:: Build Zig"
cmake .. \
-DCMAKE_INSTALL_PREFIX="stage3-release" \
-DCMAKE_PREFIX_PATH="$PREFIX" \
@ -42,7 +41,6 @@ unset CC
unset CXX
ninja install
echo "::endgroup::"
echo "Looking for non-conforming code formatting..."
stage3-release/bin/zig fmt --check .. \
@ -51,11 +49,8 @@ stage3-release/bin/zig fmt --check .. \
--exclude ../build-release
# simultaneously test building self-hosted without LLVM and with 32-bit arm
echo "::group:: zig build arm32"
stage3-release/bin/zig build -Dtarget=arm-linux-musleabihf
echo "::endgroup::"
echo "::group:: zig build test docs"
stage3-release/bin/zig build test docs \
-fqemu \
-fwasmtime \
@ -63,7 +58,6 @@ stage3-release/bin/zig build test docs \
-Dtarget=native-native-musl \
--search-prefix "$PREFIX" \
--zig-lib-dir "$(pwd)/../lib"
echo "::endgroup::"
# Look for HTML errors.
tidy --drop-empty-elements no -qe ../zig-cache/langref.html
@ -71,7 +65,6 @@ tidy --drop-empty-elements no -qe ../zig-cache/langref.html
# Produce the experimental std lib documentation.
stage3-release/bin/zig test ../lib/std/std.zig -femit-docs -fno-emit-bin --zig-lib-dir ../lib
echo "::group:: zig build stage4"
stage3-release/bin/zig build \
--prefix stage4-release \
-Denable-llvm \
@ -82,7 +75,6 @@ stage3-release/bin/zig build \
-Dtarget=$TARGET \
-Duse-zig-libcxx \
-Dversion-string="$(stage3-release/bin/zig version)"
echo "::endgroup::"
# diff returns an error code if the files differ.
echo "If the following command fails, it means nondeterminism has been"

View File

@ -23,7 +23,6 @@ git fetch --tags
mkdir build
cd build
echo "::group:: Build Zig"
PATH="$HOME/local/bin:$PATH" cmake .. \
-DCMAKE_INSTALL_PREFIX="stage3-release" \
-DCMAKE_PREFIX_PATH="$PREFIX" \
@ -36,17 +35,13 @@ PATH="$HOME/local/bin:$PATH" cmake .. \
-GNinja
$HOME/local/bin/ninja install
echo "::endgroup::"
echo "::group:: zig build test docs"
stage3-release/bin/zig build test docs \
--zig-lib-dir "$(pwd)/../lib" \
-Denable-macos-sdk \
-Dstatic-llvm \
-Dskip-non-native \
--search-prefix "$PREFIX"
echo "::endgroup::"
# Produce the experimental std lib documentation.
stage3-release/bin/zig test ../lib/std/std.zig -femit-docs -fno-emit-bin --zig-lib-dir ../lib

View File

@ -31,7 +31,8 @@ if ((git rev-parse --is-shallow-repository) -eq "true") {
git fetch --unshallow # `git describe` won't work on a shallow repo
}
Write-Output "::group:: Building Zig..."
Write-Output "Building Zig..."
& "$ZIGPREFIXPATH\bin\zig.exe" build `
--prefix "$ZIGINSTALLDIR" `
--search-prefix "$ZIGPREFIXPATH" `
@ -42,22 +43,21 @@ Write-Output "::group:: Building Zig..."
-Duse-zig-libcxx `
-Dtarget="$TARGET"
CheckLastExitCode
Write-Output "::endgroup::"
Write-Output "::group:: zig build test docs..."
Write-Output " zig build test docs..."
& "$ZIGINSTALLDIR\bin\zig.exe" build test docs `
--search-prefix "$ZIGPREFIXPATH" `
-Dstatic-llvm `
-Dskip-non-native `
-Denable-symlinks-windows
CheckLastExitCode
Write-Output "::endgroup::"
# Produce the experimental std lib documentation.
Write-Output "::group:: zig test std/std.zig..."
Write-Output "zig test std/std.zig..."
& "$ZIGINSTALLDIR\bin\zig.exe" test "$ZIGLIBDIR\std\std.zig" `
--zig-lib-dir "$ZIGLIBDIR" `
-femit-docs `
-fno-emit-bin
CheckLastExitCode
Write-Output "::endgroup::"