Skip to content

Commit

Permalink
buildkite: remove this before merging
Browse files Browse the repository at this point in the history
  • Loading branch information
leios committed Jul 22, 2024
1 parent b828c8d commit 9590be3
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ steps:
# then, test supported CUDA toolkits (installed through the artifact system)
- group: "CUDA"
key: "cuda"
depends_on: "julia"
steps:
- label: "CUDA {{matrix.cuda}}"
plugins:
Expand Down Expand Up @@ -84,6 +83,33 @@ steps:
echo -e "[CUDA_Runtime_jll]\nversion = \"{{matrix.cuda}}\"" >LocalPreferences.toml
echo -e "[CUDA_Driver_jll]\ncompat = \"false\"" >>LocalPreferences.toml
- group: "Memory"
key: "memory"
steps:
- label: "CuArray with {{matrix.memory}} memory"
plugins:
- JuliaCI/julia#v1:
version: "1.10"
- JuliaCI/julia-test#v1:
test_args: "--quickfail core base libraries"
- JuliaCI/julia-coverage#v1:
dirs:
- src
- lib
- examples
agents:
queue: "juliagpu"
cuda: "*"
if: build.message !~ /\[skip tests\]/ && build.message !~ /\[skip memory\]/ && !build.pull_request.draft
timeout_in_minutes: 30
matrix:
setup:
memory:
- "unified"
- "host"
commands: |
echo -e "[CUDA]\ndefault_memory = \"{{matrix.memory}}\"" >LocalPreferences.toml
- group: ":nesting_dolls: Subpackages"
depends_on: "cuda"
steps:
Expand Down Expand Up @@ -121,6 +147,7 @@ steps:
using Pkg
println("--- :julia: Instantiating project")
Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time")
withenv("JULIA_PKG_PRECOMPILE_AUTO" => 0) do
Pkg.activate(joinpath(pwd(), "lib", lowercase("{{matrix.package}}")))
try
Expand Down Expand Up @@ -157,6 +184,7 @@ steps:
julia --project -e '
using Pkg
Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time")
println("--- :julia: Instantiating project")
withenv("JULIA_PKG_PRECOMPILE_AUTO" => 0) do
Pkg.instantiate()
Expand Down Expand Up @@ -248,11 +276,15 @@ steps:
run_tests: false
command: |
julia --project -e '
using Pkg
Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time")
using CUDA
@assert !CUDA.functional()
@assert !isdefined(CUDA, :libcudart)
CUDA.set_runtime_version!(v"11.6")'
julia --project -e '
using Pkg
Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time")
using CUDA
@assert !CUDA.functional()
@assert isdefined(CUDA, :libcudart)'
Expand Down Expand Up @@ -407,6 +439,7 @@ steps:
julia --project -e '
using Pkg
Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time")
println("--- :julia: Instantiating project")
Pkg.resolve()
Pkg.instantiate()
Expand Down Expand Up @@ -441,6 +474,7 @@ steps:
command: |
julia --project -e '
using Pkg
Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time")
ENV["CODESPEED_ENVIRONMENT"] = ENV["BUILDKITE_AGENT_NAME"]
println("--- :julia: Instantiating project")
Expand Down

0 comments on commit 9590be3

Please sign in to comment.