Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Linux tests with -O0 #1118

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 26 additions & 26 deletions .buildkite/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,35 +15,35 @@ steps:
- JuliaCI/julia#v1:
version: "nightly"
command: |
julia --color=yes --project=.ci -e 'using Pkg; Pkg.instantiate()'
julia --color=yes --project=.ci .ci/create_sysimage_and_run_tests.jl
julia --color=yes --optimize=0 --project=.ci -e 'using Pkg; Pkg.instantiate()'
julia --color=yes --optimize=0 --project=.ci .ci/create_sysimage_and_run_tests.jl
agents:
queue: "julia"
os: "linux"
arch: "x86_64"
cpuset_limited: "true"
timeout_in_minutes: 120
# macOS aarch64
- label: ":macos: macos-aarch64"
plugins:
- JuliaCI/julia#v1:
version: "nightly"
command: |
julia --color=yes --project=.ci -e 'using Pkg; Pkg.instantiate()'
julia --color=yes --project=.ci .ci/create_sysimage_and_run_tests.jl
agents:
queue: "julia"
os: "macos"
arch: "aarch64"
# windows x86_64
- label: ":windows: windows-x86_64"
plugins:
- JuliaCI/julia#v1:
version: "nightly"
command: |
julia --color=yes --project=.ci -e 'using Pkg; Pkg.instantiate()'
julia --color=yes --project=.ci .ci/create_sysimage_and_run_tests.jl
agents:
queue: "julia"
os: "windows"
arch: "x86_64"
# # macOS aarch64
# - label: ":macos: macos-aarch64"
# plugins:
# - JuliaCI/julia#v1:
# version: "nightly"
# command: |
# julia --color=yes --project=.ci -e 'using Pkg; Pkg.instantiate()'
# julia --color=yes --project=.ci .ci/create_sysimage_and_run_tests.jl
# agents:
# queue: "julia"
# os: "macos"
# arch: "aarch64"
# # windows x86_64
# - label: ":windows: windows-x86_64"
# plugins:
# - JuliaCI/julia#v1:
# version: "nightly"
# command: |
# julia --color=yes --project=.ci -e 'using Pkg; Pkg.instantiate()'
# julia --color=yes --project=.ci .ci/create_sysimage_and_run_tests.jl
# agents:
# queue: "julia"
# os: "windows"
# arch: "x86_64"
8 changes: 7 additions & 1 deletion .ci/create_sysimage_and_run_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ else
end

withenv("JULIA_IMAGE_THREADS" => ncores) do
create_sysimage(["LinearAlgebra", "Test", "Distributed", "Dates", "Printf", "Random"]; sysimage_path=sysimage, incremental=false, filter_stdlibs=true)
create_sysimage(
["LinearAlgebra", "Test", "Distributed", "Dates", "Printf", "Random"];
sysimage_path=sysimage,
incremental=false,
filter_stdlibs=true,
sysimage_build_args = `--optimize=0`
)
end

current_dir = @__DIR__
Expand Down