Skip to content

Commit

Permalink
ci: fix Base.runtests
Browse files Browse the repository at this point in the history
  • Loading branch information
inkydragon committed Jan 18, 2025
1 parent c5e1885 commit a6a74d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .ci/create_sysimage_and_run_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ withenv("JULIA_IMAGE_THREADS" => ncores) do
end

current_dir = @__DIR__
cmd = """Base.runtests(["LinearAlgebra"]; propagate_project=true, ncores=$ncores)"""
if VERSION >= v"1.12"
cmd = """Base.runtests(["LinearAlgebra"]; propagate_project=true, ncores=$ncores)"""
else
cmd = """Base.runtests(["LinearAlgebra"]; ncores=$ncores)"""
end
withenv("JULIA_NUM_THREADS" => 1) do
run(`$(Base.julia_cmd()) --sysimage=$sysimage --project=$current_dir -e $cmd`)
end

0 comments on commit a6a74d7

Please sign in to comment.