diff --git a/.buildkite/runtests.yml b/.buildkite/runtests.yml index a21eb63..9c9d063 100644 --- a/.buildkite/runtests.yml +++ b/.buildkite/runtests.yml @@ -13,7 +13,7 @@ steps: gid: 1000 # Julia installation inside the sandbox - JuliaCI/julia#v1: - version: "nightly" + version: "1" arch: "i686" command: | julia --color=yes --project=.ci -e 'using Pkg; Pkg.instantiate()' @@ -38,7 +38,7 @@ steps: gid: 1000 # Julia installation inside the sandbox - JuliaCI/julia#v1: - version: "nightly" + version: "1" command: | julia --color=yes --project=.ci --code-coverage=@ -e 'using Pkg; Pkg.instantiate()' julia --color=yes --project=.ci --code-coverage=@ .ci/create_sysimage_and_run_tests.jl @@ -51,7 +51,7 @@ steps: - label: ":macos: macos-aarch64" plugins: - JuliaCI/julia#v1: - version: "nightly" + version: "1" - JuliaCI/julia-coverage#v1: codecov: true command: | @@ -65,7 +65,7 @@ steps: - label: ":windows: windows-x86_64" plugins: - JuliaCI/julia#v1: - version: "nightly" + version: "1" - JuliaCI/julia-coverage#v1: codecov: true command: | diff --git a/.ci/create_sysimage_and_run_tests.jl b/.ci/create_sysimage_and_run_tests.jl index 47c25a2..fb7241e 100644 --- a/.ci/create_sysimage_and_run_tests.jl +++ b/.ci/create_sysimage_and_run_tests.jl @@ -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