| author | |
| committer | |
| log | c47b46fc8dcb24a9af8e28d169d93170fce0e061 |
| tree | 198688904d8c224e9f17f194dc6b5d147f033f55 |
| parent | c1285a1bbe04ab9960768ed8eb583ba8eb32cbe1 |
5 files changed, 25 insertions(+), 6 deletions(-)
ci/azure/linux_script+5-3| ... | @@ -69,9 +69,11 @@ release/bin/zig fmt --check .. | ... | @@ -69,9 +69,11 @@ release/bin/zig fmt --check .. |
| 69 | cmake .. -DZIG_EXECUTABLE="$(pwd)/release/bin/zig" | 69 | cmake .. -DZIG_EXECUTABLE="$(pwd)/release/bin/zig" |
| 70 | make $JOBS install | 70 | make $JOBS install |
| 71 | 71 | ||
| 72 | for step in test-toolchain test-std docs; do | 72 | release/bin/zig test ../test/behavior.zig -fno-stage1 -fLLVM -I ../test |
| 73 | release/bin/zig build $step -Denable-qemu -Denable-wasmtime | 73 | |
| 74 | done | 74 | release/bin/zig build test-toolchain -Denable-qemu -Denable-wasmtime |
| 75 | release/bin/zig build test-std -Denable-qemu -Denable-wasmtime | ||
| 76 | release/bin/zig build docs -Denable-qemu -Denable-wasmtime | ||
| 75 | 77 | ||
| 76 | # Look for HTML errors. | 78 | # Look for HTML errors. |
| 77 | tidy -qe ../zig-cache/langref.html | 79 | tidy -qe ../zig-cache/langref.html |
ci/azure/macos_script+6-3| ... | @@ -54,9 +54,12 @@ make $JOBS install | ... | @@ -54,9 +54,12 @@ make $JOBS install |
| 54 | cmake .. -DZIG_EXECUTABLE="$(pwd)/release/bin/zig" | 54 | cmake .. -DZIG_EXECUTABLE="$(pwd)/release/bin/zig" |
| 55 | make $JOBS install | 55 | make $JOBS install |
| 56 | 56 | ||
| 57 | for step in test-toolchain test-std docs; do | 57 | # TODO figure out why this causes a segmentation fault |
| 58 | release/bin/zig build $step | 58 | # release/bin/zig test ../test/behavior.zig -fno-stage1 -fLLVM -I ../test |
| 59 | done | 59 | |
| 60 | release/bin/zig build test-toolchain | ||
| 61 | release/bin/zig build test-std | ||
| 62 | release/bin/zig build docs | ||
| 60 | 63 | ||
| 61 | if [ "${BUILD_REASON}" != "PullRequest" ]; then | 64 | if [ "${BUILD_REASON}" != "PullRequest" ]; then |
| 62 | mv ../LICENSE release/ | 65 | mv ../LICENSE release/ |
ci/azure/windows_msvc_script.bat+4| ... | @@ -26,6 +26,10 @@ cd %ZIGBUILDDIR% | ... | @@ -26,6 +26,10 @@ cd %ZIGBUILDDIR% |
| 26 | cmake.exe .. -Thost=x64 -G"Visual Studio 16 2019" -A x64 "-DCMAKE_INSTALL_PREFIX=%ZIGINSTALLDIR%" "-DCMAKE_PREFIX_PATH=%ZIGPREFIXPATH%" -DCMAKE_BUILD_TYPE=Release -DZIG_OMIT_STAGE2=ON || exit /b | 26 | cmake.exe .. -Thost=x64 -G"Visual Studio 16 2019" -A x64 "-DCMAKE_INSTALL_PREFIX=%ZIGINSTALLDIR%" "-DCMAKE_PREFIX_PATH=%ZIGPREFIXPATH%" -DCMAKE_BUILD_TYPE=Release -DZIG_OMIT_STAGE2=ON || exit /b |
| 27 | msbuild /maxcpucount /p:Configuration=Release INSTALL.vcxproj || exit /b | 27 | msbuild /maxcpucount /p:Configuration=Release INSTALL.vcxproj || exit /b |
| 28 | 28 | ||
| 29 | REM Sadly, stage2 is omitted from this build to save memory on the CI server. Once self-hosted is | ||
| 30 | REM built with itself and does not gobble as much memory, we can enable these tests. | ||
| 31 | REM "%ZIGINSTALLDIR%\bin\zig.exe" test "..\test\behavior.zig" -fno-stage1 -fLLVM -I "..\test" || exit /b | ||
| 32 | |||
| 29 | "%ZIGINSTALLDIR%\bin\zig.exe" build test-toolchain -Dskip-non-native -Dskip-stage2-tests || exit /b | 33 | "%ZIGINSTALLDIR%\bin\zig.exe" build test-toolchain -Dskip-non-native -Dskip-stage2-tests || exit /b |
| 30 | "%ZIGINSTALLDIR%\bin\zig.exe" build test-std -Dskip-non-native || exit /b | 34 | "%ZIGINSTALLDIR%\bin\zig.exe" build test-std -Dskip-non-native || exit /b |
| 31 | "%ZIGINSTALLDIR%\bin\zig.exe" build docs || exit /b | 35 | "%ZIGINSTALLDIR%\bin\zig.exe" build docs || exit /b |
ci/srht/freebsd_script+5| ... | @@ -38,6 +38,11 @@ cmake .. \ | ... | @@ -38,6 +38,11 @@ cmake .. \ |
| 38 | -GNinja | 38 | -GNinja |
| 39 | samu install | 39 | samu install |
| 40 | 40 | ||
| 41 | # TODO ld.lld: error: undefined symbol: main | ||
| 42 | # >>> referenced by crt1_c.c:75 (/usr/src/lib/csu/amd64/crt1_c.c:75) | ||
| 43 | # >>> /usr/lib/crt1.o:(_start) | ||
| 44 | #release/bin/zig test ../test/behavior.zig -fno-stage1 -fLLVM -I ../test | ||
| 45 | |||
| 41 | # Here we skip some tests to save time. | 46 | # Here we skip some tests to save time. |
| 42 | release/bin/zig build test -Dskip-compile-errors -Dskip-non-native | 47 | release/bin/zig build test -Dskip-compile-errors -Dskip-non-native |
| 43 | 48 |
ci/srht/netbsd_script+5| ... | @@ -51,6 +51,11 @@ samu install | ... | @@ -51,6 +51,11 @@ samu install |
| 51 | unset CC | 51 | unset CC |
| 52 | unset CXX | 52 | unset CXX |
| 53 | 53 | ||
| 54 | # TODO ld.lld: error: undefined symbol: main | ||
| 55 | #>>> referenced by crt0-common.c | ||
| 56 | #>>> /usr/lib/crt0.o:(___start) | ||
| 57 | #release/bin/zig test ../test/behavior.zig -fno-stage1 -fLLVM -I ../test | ||
| 58 | |||
| 54 | # Here we skip some tests to save time. | 59 | # Here we skip some tests to save time. |
| 55 | release/bin/zig build test -Dskip-compile-errors -Dskip-non-native | 60 | release/bin/zig build test -Dskip-compile-errors -Dskip-non-native |
| 56 | 61 |