Skip to content

Commit 2d80878

Browse files
committed
buildkite: remove this before merging
1 parent b085472 commit 2d80878

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
@@ -45,7 +45,6 @@ steps:
4545
# then, test supported CUDA toolkits (installed through the artifact system)
4646
- group: "CUDA"
4747
key: "cuda"
48-
depends_on: "julia"
4948
steps:
5049
- label: "CUDA {{matrix.cuda}}"
5150
plugins:
@@ -86,6 +85,33 @@ steps:
8685
echo -e "[CUDA_Runtime_jll]\nversion = \"{{matrix.cuda}}\"" >LocalPreferences.toml
8786
echo -e "[CUDA_Driver_jll]\ncompat = \"false\"" >>LocalPreferences.toml
8887
88+
- group: "Memory"
89+
key: "memory"
90+
steps:
91+
- label: "CuArray with {{matrix.memory}} memory"
92+
plugins:
93+
- JuliaCI/julia#v1:
94+
version: "1.10"
95+
- JuliaCI/julia-test#v1:
96+
test_args: "--quickfail core base libraries"
97+
- JuliaCI/julia-coverage#v1:
98+
dirs:
99+
- src
100+
- lib
101+
- examples
102+
agents:
103+
queue: "juliagpu"
104+
cuda: "*"
105+
if: build.message !~ /\[skip tests\]/ && build.message !~ /\[skip memory\]/ && !build.pull_request.draft
106+
timeout_in_minutes: 30
107+
matrix:
108+
setup:
109+
memory:
110+
- "unified"
111+
- "host"
112+
commands: |
113+
echo -e "[CUDA]\ndefault_memory = \"{{matrix.memory}}\"" >LocalPreferences.toml
114+
89115
- group: ":nesting_dolls: Subpackages"
90116
depends_on: "cuda"
91117
steps:
@@ -123,6 +149,7 @@ steps:
123149
using Pkg
124150
125151
println("--- :julia: Instantiating project")
152+
Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time")
126153
withenv("JULIA_PKG_PRECOMPILE_AUTO" => 0) do
127154
Pkg.activate(joinpath(pwd(), "lib", lowercase("{{matrix.package}}")))
128155
try
@@ -159,6 +186,7 @@ steps:
159186
julia --project -e '
160187
using Pkg
161188
189+
Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time")
162190
println("--- :julia: Instantiating project")
163191
withenv("JULIA_PKG_PRECOMPILE_AUTO" => 0) do
164192
Pkg.instantiate()
@@ -250,11 +278,15 @@ steps:
250278
run_tests: false
251279
command: |
252280
julia --project -e '
281+
using Pkg
282+
Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time")
253283
using CUDA
254284
@assert !CUDA.functional()
255285
@assert !isdefined(CUDA, :libcudart)
256286
CUDA.set_runtime_version!(v"11.6")'
257287
julia --project -e '
288+
using Pkg
289+
Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time")
258290
using CUDA
259291
@assert !CUDA.functional()
260292
@assert isdefined(CUDA, :libcudart)'
@@ -409,6 +441,7 @@ steps:
409441
julia --project -e '
410442
using Pkg
411443
444+
Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time")
412445
println("--- :julia: Instantiating project")
413446
Pkg.resolve()
414447
Pkg.instantiate()
@@ -443,6 +476,7 @@ steps:
443476
command: |
444477
julia --project -e '
445478
using Pkg
479+
Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time")
446480
ENV["CODESPEED_ENVIRONMENT"] = ENV["BUILDKITE_AGENT_NAME"]
447481
448482
println("--- :julia: Instantiating project")

0 commit comments

Comments
 (0)