Skip to content

Commit 5e6472f

Browse files
committed
buildkite: Add per variant timeout value and increase aarch asan and force32bit to 55 minutes.
1 parent c29a287 commit 5e6472f

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.buildkite/lib/generate.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function generate(platform::Platform)
5858
Dict(
5959
"label" => job_label,
6060
"key" => job_key,
61-
"timeout_in_minutes" => 45,
61+
"timeout_in_minutes" => platform.timeout,
6262
"agents" => Dict(
6363
"sandbox_capable" => "true",
6464
"queue" => "juliaecosystem",

.buildkite/lib/types.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Base.@kwdef struct Platform
66
commit_status::Bool
77
cmake_extra_arg::String
88
variant::String
9+
timeout::Integer
910
end
1011

1112
struct Platforms
@@ -26,6 +27,7 @@ const platforms = Platforms(
2627
commit_status = true,
2728
cmake_extra_arg = "",
2829
variant = "",
30+
timeout = 45,
2931
),
3032
Platform(;
3133
arch = "x86_64",
@@ -35,6 +37,7 @@ const platforms = Platforms(
3537
commit_status = true,
3638
cmake_extra_arg = "-Dasan=true",
3739
variant = "asan",
40+
timeout = 45,
3841
),
3942
Platform(;
4043
arch = "aarch64",
@@ -44,6 +47,7 @@ const platforms = Platforms(
4447
commit_status = true,
4548
cmake_extra_arg = "",
4649
variant = "",
50+
timeout = 45,
4751
),
4852
Platform(;
4953
arch = "aarch64",
@@ -53,6 +57,7 @@ const platforms = Platforms(
5357
commit_status = true,
5458
cmake_extra_arg = "-Dasan=true",
5559
variant = "asan",
60+
timeout = 55,
5661
),
5762
Platform(;
5863
arch = "x86_64",
@@ -62,6 +67,7 @@ const platforms = Platforms(
6267
commit_status = true,
6368
cmake_extra_arg = "-Dforce32bit=true",
6469
variant = "force32bit",
70+
timeout = 55,
6571
),
6672
Platform(;
6773
arch = "x86_64",
@@ -71,6 +77,7 @@ const platforms = Platforms(
7177
commit_status = true,
7278
cmake_extra_arg = "-Dforce32bit=true -Dasan=true",
7379
variant = "force32bit-asan",
80+
timeout = 55,
7481
),
7582
]
7683
)

0 commit comments

Comments
 (0)