Skip to content

Commit 4f6dfbd

Browse files
authored
Bump CI to Julia 1.7. (#1260)
1 parent 5adf3b3 commit 4f6dfbd

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

.buildkite/pipeline.yml

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ steps:
4949
- label: "Julia 1.7"
5050
plugins:
5151
- JuliaCI/julia#v1:
52-
version: 1.7-nightly
52+
version: 1.7
5353
- JuliaCI/julia-test#v1: ~
5454
- JuliaCI/julia-coverage#v1:
5555
codecov: true
@@ -309,7 +309,7 @@ steps:
309309

310310
# if we will submit results, use the benchmark queue so that we will
311311
# be running on the same system each time
312-
- label: "Benchmarks"
312+
- label: "Benchmarks on 1.6"
313313
plugins:
314314
- JuliaCI/julia#v1:
315315
version: 1.6
@@ -340,6 +340,37 @@ steps:
340340
!build.pull_request.draft
341341
timeout_in_minutes: 30
342342

343+
- label: "Benchmarks on 1.7"
344+
plugins:
345+
- JuliaCI/julia#v1:
346+
version: 1.7
347+
env:
348+
BENCHMARKS: "true"
349+
CODESPEED_PROJECT: "$BUILDKITE_PIPELINE_NAME"
350+
CODESPEED_BRANCH: "$BUILDKITE_BRANCH"
351+
CODESPEED_COMMIT: "$BUILDKITE_COMMIT"
352+
CODESPEED_EXECUTABLE: "Julia 1.7"
353+
command: |
354+
julia --project -e '
355+
ENV["CODESPEED_ENVIRONMENT"] = ENV["BUILDKITE_AGENT_NAME"]
356+
357+
println("--- :julia: Instantiating project")
358+
using Pkg
359+
Pkg.instantiate()
360+
Pkg.activate("perf")
361+
Pkg.instantiate()
362+
push!(LOAD_PATH, @__DIR__)
363+
364+
println("+++ :julia: Benchmarking")
365+
include("perf/runbenchmarks.jl")'
366+
agents:
367+
queue: "benchmark"
368+
cuda: "*"
369+
if: build.message !~ /\[skip benchmarks\]/ &&
370+
build.branch =~ /^master$$/ &&
371+
!build.pull_request.draft
372+
timeout_in_minutes: 30
373+
343374
- wait
344375

345376
# benchmarks outside of the master branch don't submit their results,

0 commit comments

Comments
 (0)