Skip to content

Commit

Permalink
run with -O0 unless on release or backport branch
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Nov 27, 2024
1 parent ff78c38 commit 4df84b4
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .buildkite/runtests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
steps:
# Linux x86_64
- label: ":linux: linux-x86_64"
Expand All @@ -15,8 +14,13 @@ steps:
- JuliaCI/julia#v1:
version: "nightly"
command: |
if [[ "${BUILDKITE_BRANCH}" =~ ^backports-release-.*$ || "${BUILDKITE_BRANCH}" =~ ^release-.*$ ]]; then
OPT_LEVEL=2
else
OPT_LEVEL=0
fi
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 --project=.ci .ci/create_sysimage_and_run_tests.jl --optimize=$OPT_LEVEL
agents:
queue: "julia"
os: "linux"
Expand All @@ -29,8 +33,13 @@ steps:
- JuliaCI/julia#v1:
version: "nightly"
command: |
if [[ "${BUILDKITE_BRANCH}" =~ ^backports-release-.*$ || "${BUILDKITE_BRANCH}" =~ ^release-.*$ ]]; then
OPT_LEVEL=2
else
OPT_LEVEL=0
fi
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 --project=.ci .ci/create_sysimage_and_run_tests.jl --optimize=$OPT_LEVEL
agents:
queue: "julia"
os: "macos"
Expand All @@ -41,8 +50,13 @@ steps:
- JuliaCI/julia#v1:
version: "nightly"
command: |
if [[ "${BUILDKITE_BRANCH}" =~ ^backports-release-.*$ || "${BUILDKITE_BRANCH}" =~ ^release-.*$ ]]; then
OPT_LEVEL=2
else
OPT_LEVEL=0
fi
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 --project=.ci .ci/create_sysimage_and_run_tests.jl --optimize=$OPT_LEVEL
agents:
queue: "julia"
os: "windows"
Expand Down

0 comments on commit 4df84b4

Please sign in to comment.