Skip to content

Commit 9590be3

Browse files
committed
buildkite: remove this before merging
1 parent b828c8d commit 9590be3

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

.buildkite/pipeline.yml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ steps:
4343
# then, test supported CUDA toolkits (installed through the artifact system)
4444
- group: "CUDA"
4545
key: "cuda"
46-
depends_on: "julia"
4746
steps:
4847
- label: "CUDA {{matrix.cuda}}"
4948
plugins:
@@ -84,6 +83,33 @@ steps:
8483
echo -e "[CUDA_Runtime_jll]\nversion = \"{{matrix.cuda}}\"" >LocalPreferences.toml
8584
echo -e "[CUDA_Driver_jll]\ncompat = \"false\"" >>LocalPreferences.toml
8685
86+
- group: "Memory"
87+
key: "memory"
88+
steps:
89+
- label: "CuArray with {{matrix.memory}} memory"
90+
plugins:
91+
- JuliaCI/julia#v1:
92+
version: "1.10"
93+
- JuliaCI/julia-test#v1:
94+
test_args: "--quickfail core base libraries"
95+
- JuliaCI/julia-coverage#v1:
96+
dirs:
97+
- src
98+
- lib
99+
- examples
100+
agents:
101+
queue: "juliagpu"
102+
cuda: "*"
103+
if: build.message !~ /\[skip tests\]/ && build.message !~ /\[skip memory\]/ && !build.pull_request.draft
104+
timeout_in_minutes: 30
105+
matrix:
106+
setup:
107+
memory:
108+
- "unified"
109+
- "host"
110+
commands: |
111+
echo -e "[CUDA]\ndefault_memory = \"{{matrix.memory}}\"" >LocalPreferences.toml
112+
87113
- group: ":nesting_dolls: Subpackages"
88114
depends_on: "cuda"
89115
steps:
@@ -121,6 +147,7 @@ steps:
121147
using Pkg
122148
123149
println("--- :julia: Instantiating project")
150+
Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time")
124151
withenv("JULIA_PKG_PRECOMPILE_AUTO" => 0) do
125152
Pkg.activate(joinpath(pwd(), "lib", lowercase("{{matrix.package}}")))
126153
try
@@ -157,6 +184,7 @@ steps:
157184
julia --project -e '
158185
using Pkg
159186
187+
Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time")
160188
println("--- :julia: Instantiating project")
161189
withenv("JULIA_PKG_PRECOMPILE_AUTO" => 0) do
162190
Pkg.instantiate()
@@ -248,11 +276,15 @@ steps:
248276
run_tests: false
249277
command: |
250278
julia --project -e '
279+
using Pkg
280+
Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time")
251281
using CUDA
252282
@assert !CUDA.functional()
253283
@assert !isdefined(CUDA, :libcudart)
254284
CUDA.set_runtime_version!(v"11.6")'
255285
julia --project -e '
286+
using Pkg
287+
Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time")
256288
using CUDA
257289
@assert !CUDA.functional()
258290
@assert isdefined(CUDA, :libcudart)'
@@ -407,6 +439,7 @@ steps:
407439
julia --project -e '
408440
using Pkg
409441
442+
Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time")
410443
println("--- :julia: Instantiating project")
411444
Pkg.resolve()
412445
Pkg.instantiate()
@@ -441,6 +474,7 @@ steps:
441474
command: |
442475
julia --project -e '
443476
using Pkg
477+
Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time")
444478
ENV["CODESPEED_ENVIRONMENT"] = ENV["BUILDKITE_AGENT_NAME"]
445479
446480
println("--- :julia: Instantiating project")

0 commit comments

Comments
 (0)