Skip to content

Commit

Permalink
Multithread HSG CI job (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat authored Jun 2, 2024
1 parent d96bbec commit 1f44c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/check_hsg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function run_hsg()
hsg_generate_file = joinpath(hsg_directory, "generate_historical_stdlibs.jl")

cmd_1 = `$(julia_binary) --project=$(hsg_directory) -e 'import Pkg; Pkg.instantiate()'`
cmd_2 = `$(julia_binary) --project=$(hsg_directory) $(hsg_generate_file)`
cmd_2 = `$(julia_binary) --project=$(hsg_directory) --threads $(min(Sys.CPU_THREADS, 8)) $(hsg_generate_file)`

run(setenv(cmd_1, env2))
run(setenv(cmd_2, env2))
Expand Down

0 comments on commit 1f44c39

Please sign in to comment.