| author | |
| committer | |
| log | 52e1be9c68aba87c1c530461c794b9c87c8a2016 |
| tree | 14917ddc2b9fa3de0c92a8e3ac31d87eb09d2a90 |
| parent | 6028adda4bc456d95dada6d1b9b91756ae6b5377 |
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" |
| 26 | 26 | rm -rf build-release |
| 27 | 27 | mkdir build-release |
| 28 | 28 | cd build-release |
| 29 | echo "::group:: Build Zig" | |
| 30 | 29 | cmake .. \ |
| 31 | 30 | -DCMAKE_INSTALL_PREFIX="stage3-release" \ |
| 32 | 31 | -DCMAKE_PREFIX_PATH="$PREFIX" \ |
| ... | ... | @@ -42,7 +41,6 @@ unset CC |
| 42 | 41 | unset CXX |
| 43 | 42 | |
| 44 | 43 | ninja install |
| 45 | echo "::endgroup::" | |
| 46 | 44 | |
| 47 | 45 | echo "Looking for non-conforming code formatting..." |
| 48 | 46 | stage3-release/bin/zig fmt --check .. \ |
| ... | ... | @@ -50,20 +48,16 @@ stage3-release/bin/zig fmt --check .. \ |
| 50 | 48 | --exclude ../build-release |
| 51 | 49 | |
| 52 | 50 | # simultaneously test building self-hosted without LLVM and with 32-bit arm |
| 53 | echo "::group:: zig build arm32" | |
| 54 | 51 | stage3-release/bin/zig build -Dtarget=arm-linux-musleabihf |
| 55 | echo "::endgroup::" | |
| 56 | 52 | |
| 57 | 53 | # TODO: add -fqemu back to this line |
| 58 | 54 | |
| 59 | echo "::group:: zig build test docs" | |
| 60 | 55 | stage3-release/bin/zig build test docs \ |
| 61 | 56 | -fwasmtime \ |
| 62 | 57 | -Dstatic-llvm \ |
| 63 | 58 | -Dtarget=native-native-musl \ |
| 64 | 59 | --search-prefix "$PREFIX" \ |
| 65 | 60 | --zig-lib-dir "$(pwd)/../lib" |
| 66 | echo "::endgroup::" | |
| 67 | 61 | |
| 68 | 62 | # Look for HTML errors. |
| 69 | 63 | tidy --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" |
| 26 | 26 | rm -rf build-debug |
| 27 | 27 | mkdir build-debug |
| 28 | 28 | cd build-debug |
| 29 | echo "::group:: Build Zig" | |
| 30 | 29 | cmake .. \ |
| 31 | 30 | -DCMAKE_INSTALL_PREFIX="stage3-debug" \ |
| 32 | 31 | -DCMAKE_PREFIX_PATH="$PREFIX" \ |
| ... | ... | @@ -42,7 +41,6 @@ unset CC |
| 42 | 41 | unset CXX |
| 43 | 42 | |
| 44 | 43 | ninja install |
| 45 | echo "::endgroup::" | |
| 46 | 44 | |
| 47 | 45 | echo "Looking for non-conforming code formatting..." |
| 48 | 46 | stage3-debug/bin/zig fmt --check .. \ |
| ... | ... | @@ -51,13 +49,10 @@ stage3-debug/bin/zig fmt --check .. \ |
| 51 | 49 | --exclude ../build-release |
| 52 | 50 | |
| 53 | 51 | # simultaneously test building self-hosted without LLVM and with 32-bit arm |
| 54 | echo "::group:: zig build arm32" | |
| 55 | 52 | stage3-debug/bin/zig build -Dtarget=arm-linux-musleabihf |
| 56 | echo "::endgroup::" | |
| 57 | 53 | |
| 58 | 54 | # building docs disabled due to: |
| 59 | 55 | # https://github.com/ziglang/zig/issues/13546 |
| 60 | echo "::group:: zig build test" | |
| 61 | 56 | stage3-debug/bin/zig build test \ |
| 62 | 57 | -fqemu \ |
| 63 | 58 | -fwasmtime \ |
| ... | ... | @@ -65,7 +60,6 @@ stage3-debug/bin/zig build test \ |
| 65 | 60 | -Dtarget=native-native-musl \ |
| 66 | 61 | --search-prefix "$PREFIX" \ |
| 67 | 62 | --zig-lib-dir "$(pwd)/../lib" |
| 68 | echo "::endgroup::" | |
| 69 | 63 | |
| 70 | 64 | # langref disabled due to: |
| 71 | 65 | # 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" |
| 26 | 26 | rm -rf build-release |
| 27 | 27 | mkdir build-release |
| 28 | 28 | cd build-release |
| 29 | echo "::group:: Build Zig" | |
| 30 | 29 | cmake .. \ |
| 31 | 30 | -DCMAKE_INSTALL_PREFIX="stage3-release" \ |
| 32 | 31 | -DCMAKE_PREFIX_PATH="$PREFIX" \ |
| ... | ... | @@ -42,7 +41,6 @@ unset CC |
| 42 | 41 | unset CXX |
| 43 | 42 | |
| 44 | 43 | ninja install |
| 45 | echo "::endgroup::" | |
| 46 | 44 | |
| 47 | 45 | echo "Looking for non-conforming code formatting..." |
| 48 | 46 | stage3-release/bin/zig fmt --check .. \ |
| ... | ... | @@ -51,11 +49,8 @@ stage3-release/bin/zig fmt --check .. \ |
| 51 | 49 | --exclude ../build-release |
| 52 | 50 | |
| 53 | 51 | # simultaneously test building self-hosted without LLVM and with 32-bit arm |
| 54 | echo "::group:: zig build arm32" | |
| 55 | 52 | stage3-release/bin/zig build -Dtarget=arm-linux-musleabihf |
| 56 | echo "::endgroup::" | |
| 57 | 53 | |
| 58 | echo "::group:: zig build test docs" | |
| 59 | 54 | stage3-release/bin/zig build test docs \ |
| 60 | 55 | -fqemu \ |
| 61 | 56 | -fwasmtime \ |
| ... | ... | @@ -63,7 +58,6 @@ stage3-release/bin/zig build test docs \ |
| 63 | 58 | -Dtarget=native-native-musl \ |
| 64 | 59 | --search-prefix "$PREFIX" \ |
| 65 | 60 | --zig-lib-dir "$(pwd)/../lib" |
| 66 | echo "::endgroup::" | |
| 67 | 61 | |
| 68 | 62 | # Look for HTML errors. |
| 69 | 63 | tidy --drop-empty-elements no -qe ../zig-cache/langref.html |
| ... | ... | @@ -71,7 +65,6 @@ tidy --drop-empty-elements no -qe ../zig-cache/langref.html |
| 71 | 65 | # Produce the experimental std lib documentation. |
| 72 | 66 | stage3-release/bin/zig test ../lib/std/std.zig -femit-docs -fno-emit-bin --zig-lib-dir ../lib |
| 73 | 67 | |
| 74 | echo "::group:: zig build stage4" | |
| 75 | 68 | stage3-release/bin/zig build \ |
| 76 | 69 | --prefix stage4-release \ |
| 77 | 70 | -Denable-llvm \ |
| ... | ... | @@ -82,7 +75,6 @@ stage3-release/bin/zig build \ |
| 82 | 75 | -Dtarget=$TARGET \ |
| 83 | 76 | -Duse-zig-libcxx \ |
| 84 | 77 | -Dversion-string="$(stage3-release/bin/zig version)" |
| 85 | echo "::endgroup::" | |
| 86 | 78 | |
| 87 | 79 | # diff returns an error code if the files differ. |
| 88 | 80 | echo "If the following command fails, it means nondeterminism has been" |
ci/macos/build-aarch64.sh-5| ... | ... | @@ -23,7 +23,6 @@ git fetch --tags |
| 23 | 23 | |
| 24 | 24 | mkdir build |
| 25 | 25 | cd build |
| 26 | echo "::group:: Build Zig" | |
| 27 | 26 | PATH="$HOME/local/bin:$PATH" cmake .. \ |
| 28 | 27 | -DCMAKE_INSTALL_PREFIX="stage3-release" \ |
| 29 | 28 | -DCMAKE_PREFIX_PATH="$PREFIX" \ |
| ... | ... | @@ -36,17 +35,13 @@ PATH="$HOME/local/bin:$PATH" cmake .. \ |
| 36 | 35 | -GNinja |
| 37 | 36 | |
| 38 | 37 | $HOME/local/bin/ninja install |
| 39 | echo "::endgroup::" | |
| 40 | 38 | |
| 41 | ||
| 42 | echo "::group:: zig build test docs" | |
| 43 | 39 | stage3-release/bin/zig build test docs \ |
| 44 | 40 | --zig-lib-dir "$(pwd)/../lib" \ |
| 45 | 41 | -Denable-macos-sdk \ |
| 46 | 42 | -Dstatic-llvm \ |
| 47 | 43 | -Dskip-non-native \ |
| 48 | 44 | --search-prefix "$PREFIX" |
| 49 | echo "::endgroup::" | |
| 50 | 45 | |
| 51 | 46 | # Produce the experimental std lib documentation. |
| 52 | 47 | stage3-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") { |
| 31 | 31 | git fetch --unshallow # `git describe` won't work on a shallow repo |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | Write-Output "::group:: Building Zig..." | |
| 34 | Write-Output "Building Zig..." | |
| 35 | ||
| 35 | 36 | & "$ZIGPREFIXPATH\bin\zig.exe" build ` |
| 36 | 37 | --prefix "$ZIGINSTALLDIR" ` |
| 37 | 38 | --search-prefix "$ZIGPREFIXPATH" ` |
| ... | ... | @@ -42,22 +43,21 @@ Write-Output "::group:: Building Zig..." |
| 42 | 43 | -Duse-zig-libcxx ` |
| 43 | 44 | -Dtarget="$TARGET" |
| 44 | 45 | CheckLastExitCode |
| 45 | Write-Output "::endgroup::" | |
| 46 | 46 | |
| 47 | Write-Output "::group:: zig build test docs..." | |
| 47 | Write-Output " zig build test docs..." | |
| 48 | ||
| 48 | 49 | & "$ZIGINSTALLDIR\bin\zig.exe" build test docs ` |
| 49 | 50 | --search-prefix "$ZIGPREFIXPATH" ` |
| 50 | 51 | -Dstatic-llvm ` |
| 51 | 52 | -Dskip-non-native ` |
| 52 | 53 | -Denable-symlinks-windows |
| 53 | 54 | CheckLastExitCode |
| 54 | Write-Output "::endgroup::" | |
| 55 | 55 | |
| 56 | 56 | # Produce the experimental std lib documentation. |
| 57 | Write-Output "::group:: zig test std/std.zig..." | |
| 57 | Write-Output "zig test std/std.zig..." | |
| 58 | ||
| 58 | 59 | & "$ZIGINSTALLDIR\bin\zig.exe" test "$ZIGLIBDIR\std\std.zig" ` |
| 59 | 60 | --zig-lib-dir "$ZIGLIBDIR" ` |
| 60 | 61 | -femit-docs ` |
| 61 | 62 | -fno-emit-bin |
| 62 | 63 | CheckLastExitCode |
| 63 | Write-Output "::endgroup::" | |
| \ No newline at end of file |