Skip to content

Commit 3482af8

Browse files
committed
ci: fix Base.runtests
1 parent cecf025 commit 3482af8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.ci/create_sysimage_and_run_tests.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ withenv("JULIA_IMAGE_THREADS" => ncores) do
1313
end
1414

1515
current_dir = @__DIR__
16-
cmd = """Base.runtests(["LinearAlgebra"]; propagate_project=true, ncores=$ncores)"""
16+
if VERSION >= v"1.12"
17+
cmd = """Base.runtests(["LinearAlgebra"]; propagate_project=true, ncores=$ncores)"""
18+
else
19+
cmd = """Base.runtests(["LinearAlgebra"]; ncores=$ncores)"""
20+
end
1721
withenv("JULIA_NUM_THREADS" => 1) do
1822
run(`$(Base.julia_cmd()) --sysimage=$sysimage --project=$current_dir -e $cmd`)
1923
end

0 commit comments

Comments
 (0)