Skip to content

Commit 3071ab5

Browse files
authored
Make the Resolver.jl-based testing a special test. (#2943)
[only special]
1 parent f4c05e0 commit 3071ab5

File tree

1 file changed

+28
-8
lines changed

1 file changed

+28
-8
lines changed

.buildkite/pipeline.yml

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,6 @@ steps:
2020
cuda: "*"
2121
commands: |
2222
echo -e "[CUDA_Runtime_jll]\nlocal = \"true\"" >LocalPreferences.toml
23-
24-
# for non-nightly, use Resolver.jl to install the oldest package versions
25-
if [[ "{{ matrix.julia }}" != "nightly" && "{{ matrix.julia }}" =~ ^[0-9]+\.[0-9]+$ ]]; then
26-
git clone https://github.com/StefanKarpinski/Resolver.jl /tmp/Resolver
27-
julia -e 'using Pkg; Pkg.activate("/tmp/Resolver/bin"); Pkg.instantiate()'
28-
julia /tmp/Resolver/bin/resolve.jl . --min=@alldeps --julia="{{matrix.julia}}"
29-
fi
3023
if: |
3124
build.message =~ /\[only tests\]/ ||
3225
build.message =~ /\[only julia\]/ ||
@@ -391,7 +384,7 @@ steps:
391384
- JuliaCI/julia#v1:
392385
version: "1.11"
393386
- JuliaCI/julia-test#v1:
394-
test_args: "--gpu=0,1 core base libraries"
387+
test_args: "--gpu=0,1 --quickfail core base libraries"
395388
- JuliaCI/julia-coverage#v1:
396389
dirs:
397390
- src
@@ -409,6 +402,33 @@ steps:
409402
build.message !~ /\[skip special\]/
410403
timeout_in_minutes: 45
411404

405+
- label: ":older_man: Old dependencies"
406+
plugins:
407+
- JuliaCI/julia#v1:
408+
version: "1.10" # use the oldest supported Julia version (and update below)
409+
- JuliaCI/julia-test#v1:
410+
test_args: "--quickfail core base"
411+
allow_reresolve: false
412+
- JuliaCI/julia-coverage#v1:
413+
dirs:
414+
- src
415+
- lib
416+
- examples
417+
agents:
418+
queue: "juliagpu"
419+
cuda: "*"
420+
commands: |
421+
git clone https://github.com/StefanKarpinski/Resolver.jl /tmp/Resolver
422+
julia -e 'using Pkg; Pkg.activate("/tmp/Resolver/bin"); Pkg.instantiate()'
423+
julia /tmp/Resolver/bin/resolve.jl . --min=@alldeps --julia="1.10"
424+
if: |
425+
build.message =~ /\[only tests\]/ ||
426+
build.message =~ /\[only special\]/ ||
427+
build.message !~ /\[only/ && !build.pull_request.draft &&
428+
build.message !~ /\[skip tests\]/ &&
429+
build.message !~ /\[skip special\]/
430+
timeout_in_minutes: 30
431+
412432
- wait: ~
413433
continue_on_failure: true
414434

0 commit comments

Comments
 (0)