Skip to content

Commit 6d2cb29

Browse files
committed
[GR-45839] CI: Avoid using 8GB mac minis for native tests
* They seem too slow.
1 parent 5d52e0b commit 6d2cb29

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ci.jsonnet

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@ local composition_environment = utils.add_inclusion_tracking(part_definitions, "
502502
local gate = gate_no_build + $.use.build,
503503
local native_config = $.run.generate_native_config + $.run.check_native_config,
504504
local native_tests = $.run.testdownstream_aot + $.run.test_integration + $.run.test_compiler,
505+
local darwin_amd64_enough_ram = { capabilities+: ["!macmini_late_2014_8gb"] }, # GR-45839
505506

506507
# Order: platform, jdk, mx_env. Keep aligned for an easy visual comparison.
507508
"ruby-test-specs-linux-17": $.platform.linux + $.jdk.v17 + $.env.jvm + gate_no_build + $.use.build + $.run.test_unit_tck + native_config + $.run.test_specs + { timelimit: "01:20:00" },
@@ -535,8 +536,8 @@ local composition_environment = utils.add_inclusion_tracking(part_definitions, "
535536

536537
"ruby-test-svm-graal-core-linux-17": $.platform.linux + $.jdk.v17 + $.env.native + $.env.gdb_svm + gate + native_tests,
537538
"ruby-test-svm-graal-core-linux-20": $.platform.linux + $.jdk.v20 + $.env.native + $.env.gdb_svm + gate + native_tests,
538-
"ruby-test-svm-graal-core-darwin-amd64-17": $.platform.darwin_amd64 + $.jdk.v17 + $.env.native + $.env.gdb_svm + gate + native_tests,
539-
"ruby-test-svm-graal-core-darwin-amd64-20": $.platform.darwin_amd64 + $.jdk.v20 + $.env.native + $.env.gdb_svm + gate + native_tests,
539+
"ruby-test-svm-graal-core-darwin-amd64-17": $.platform.darwin_amd64 + $.jdk.v17 + $.env.native + $.env.gdb_svm + gate + native_tests + darwin_amd64_enough_ram,
540+
"ruby-test-svm-graal-core-darwin-amd64-20": $.platform.darwin_amd64 + $.jdk.v20 + $.env.native + $.env.gdb_svm + gate + native_tests + darwin_amd64_enough_ram,
540541
"ruby-test-svm-graal-core-darwin-aarch64-17": $.platform.darwin_aarch64 + $.jdk.v17 + $.env.native + gate + native_tests,
541542
"ruby-test-svm-graal-core-darwin-aarch64-20": $.platform.darwin_aarch64 + $.jdk.v20 + $.env.native + gate + native_tests,
542543
"ruby-test-svm-graal-enterprise-linux": $.platform.linux + $.jdk.v17 + $.env.native_ee + $.env.gdb_svm + gate + native_tests,

0 commit comments

Comments
 (0)