mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
ci: set unit test timeouts
This commit is contained in:
parent
263e7fe87a
commit
b43bb3a32a
12 changed files with 24 additions and 12 deletions
|
|
@ -50,7 +50,8 @@ stage3-debug/bin/zig build test docs \
|
||||||
-Dtarget=native-native-musl \
|
-Dtarget=native-native-musl \
|
||||||
--search-prefix "$PREFIX" \
|
--search-prefix "$PREFIX" \
|
||||||
--zig-lib-dir "$PWD/../lib" \
|
--zig-lib-dir "$PWD/../lib" \
|
||||||
-Denable-superhtml
|
-Denable-superhtml \
|
||||||
|
--test-timeout-ms 60_000
|
||||||
|
|
||||||
stage3-debug/bin/zig build \
|
stage3-debug/bin/zig build \
|
||||||
--prefix stage4-debug \
|
--prefix stage4-debug \
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,8 @@ stage3-release/bin/zig build test docs \
|
||||||
-Dtarget=native-native-musl \
|
-Dtarget=native-native-musl \
|
||||||
--search-prefix "$PREFIX" \
|
--search-prefix "$PREFIX" \
|
||||||
--zig-lib-dir "$PWD/../lib" \
|
--zig-lib-dir "$PWD/../lib" \
|
||||||
-Denable-superhtml
|
-Denable-superhtml \
|
||||||
|
--test-timeout-ms 60_000
|
||||||
|
|
||||||
# Ensure that stage3 and stage4 are byte-for-byte identical.
|
# Ensure that stage3 and stage4 are byte-for-byte identical.
|
||||||
stage3-release/bin/zig build \
|
stage3-release/bin/zig build \
|
||||||
|
|
|
||||||
|
|
@ -46,4 +46,5 @@ stage3-debug/bin/zig build test docs \
|
||||||
-Denable-macos-sdk \
|
-Denable-macos-sdk \
|
||||||
-Dstatic-llvm \
|
-Dstatic-llvm \
|
||||||
-Dskip-non-native \
|
-Dskip-non-native \
|
||||||
--search-prefix "$PREFIX"
|
--search-prefix "$PREFIX" \
|
||||||
|
--test-timeout-ms 60_000
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,8 @@ stage3-release/bin/zig build test docs \
|
||||||
-Denable-macos-sdk \
|
-Denable-macos-sdk \
|
||||||
-Dstatic-llvm \
|
-Dstatic-llvm \
|
||||||
-Dskip-non-native \
|
-Dskip-non-native \
|
||||||
--search-prefix "$PREFIX"
|
--search-prefix "$PREFIX" \
|
||||||
|
--test-timeout-ms 60_000
|
||||||
|
|
||||||
# Ensure that stage3 and stage4 are byte-for-byte identical.
|
# Ensure that stage3 and stage4 are byte-for-byte identical.
|
||||||
stage3-release/bin/zig build \
|
stage3-release/bin/zig build \
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,8 @@ Write-Output "Main test suite..."
|
||||||
--search-prefix "$PREFIX_PATH" `
|
--search-prefix "$PREFIX_PATH" `
|
||||||
-Dstatic-llvm `
|
-Dstatic-llvm `
|
||||||
-Dskip-non-native `
|
-Dskip-non-native `
|
||||||
-Denable-symlinks-windows
|
-Denable-symlinks-windows `
|
||||||
|
--test-timeout-ms 60_000
|
||||||
CheckLastExitCode
|
CheckLastExitCode
|
||||||
|
|
||||||
# Ensure that stage3 and stage4 are byte-for-byte identical.
|
# Ensure that stage3 and stage4 are byte-for-byte identical.
|
||||||
|
|
|
||||||
|
|
@ -51,4 +51,5 @@ stage3-debug/bin/zig build test-cases test-modules test-unit test-c-abi test-sta
|
||||||
-Dskip-compile-errors \
|
-Dskip-compile-errors \
|
||||||
-Dtarget=native-native-musl \
|
-Dtarget=native-native-musl \
|
||||||
--search-prefix "$PREFIX" \
|
--search-prefix "$PREFIX" \
|
||||||
--zig-lib-dir "$PWD/../lib"
|
--zig-lib-dir "$PWD/../lib" \
|
||||||
|
--test-timeout-ms 60_000
|
||||||
|
|
|
||||||
|
|
@ -51,4 +51,5 @@ stage3-release/bin/zig build test-cases test-modules test-unit test-c-abi test-s
|
||||||
-Dskip-compile-errors \
|
-Dskip-compile-errors \
|
||||||
-Dtarget=native-native-musl \
|
-Dtarget=native-native-musl \
|
||||||
--search-prefix "$PREFIX" \
|
--search-prefix "$PREFIX" \
|
||||||
--zig-lib-dir "$PWD/../lib"
|
--zig-lib-dir "$PWD/../lib" \
|
||||||
|
--test-timeout-ms 60_000
|
||||||
|
|
|
||||||
|
|
@ -61,4 +61,5 @@ stage3-debug/bin/zig build test docs \
|
||||||
-Dtarget=native-native-musl \
|
-Dtarget=native-native-musl \
|
||||||
--search-prefix "$PREFIX" \
|
--search-prefix "$PREFIX" \
|
||||||
--zig-lib-dir "$PWD/../lib" \
|
--zig-lib-dir "$PWD/../lib" \
|
||||||
-Denable-superhtml
|
-Denable-superhtml \
|
||||||
|
--test-timeout-ms 60_000
|
||||||
|
|
|
||||||
|
|
@ -61,4 +61,5 @@ stage3-debug/bin/zig build test docs \
|
||||||
-Dtarget=native-native-musl \
|
-Dtarget=native-native-musl \
|
||||||
--search-prefix "$PREFIX" \
|
--search-prefix "$PREFIX" \
|
||||||
--zig-lib-dir "$PWD/../lib" \
|
--zig-lib-dir "$PWD/../lib" \
|
||||||
-Denable-superhtml
|
-Denable-superhtml \
|
||||||
|
--test-timeout-ms 60_000
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,8 @@ stage3-release/bin/zig build test docs \
|
||||||
-Dtarget=native-native-musl \
|
-Dtarget=native-native-musl \
|
||||||
--search-prefix "$PREFIX" \
|
--search-prefix "$PREFIX" \
|
||||||
--zig-lib-dir "$PWD/../lib" \
|
--zig-lib-dir "$PWD/../lib" \
|
||||||
-Denable-superhtml
|
-Denable-superhtml \
|
||||||
|
--test-timeout-ms 60_000
|
||||||
|
|
||||||
# Ensure that stage3 and stage4 are byte-for-byte identical.
|
# Ensure that stage3 and stage4 are byte-for-byte identical.
|
||||||
stage3-release/bin/zig build \
|
stage3-release/bin/zig build \
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,8 @@ Write-Output "Main test suite..."
|
||||||
-Dstatic-llvm `
|
-Dstatic-llvm `
|
||||||
-Dskip-non-native `
|
-Dskip-non-native `
|
||||||
-Dskip-release `
|
-Dskip-release `
|
||||||
-Denable-symlinks-windows
|
-Denable-symlinks-windows `
|
||||||
|
--test-timeout-ms 60_000
|
||||||
CheckLastExitCode
|
CheckLastExitCode
|
||||||
|
|
||||||
Write-Output "Build x86_64-windows-msvc behavior tests using the C backend..."
|
Write-Output "Build x86_64-windows-msvc behavior tests using the C backend..."
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,8 @@ Write-Output "Main test suite..."
|
||||||
--search-prefix "$PREFIX_PATH" `
|
--search-prefix "$PREFIX_PATH" `
|
||||||
-Dstatic-llvm `
|
-Dstatic-llvm `
|
||||||
-Dskip-non-native `
|
-Dskip-non-native `
|
||||||
-Denable-symlinks-windows
|
-Denable-symlinks-windows `
|
||||||
|
--test-timeout-ms 60_000
|
||||||
CheckLastExitCode
|
CheckLastExitCode
|
||||||
|
|
||||||
# Ensure that stage3 and stage4 are byte-for-byte identical.
|
# Ensure that stage3 and stage4 are byte-for-byte identical.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue