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 Jun 28, 2024
1 parent b085472 commit 2d80878
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 @@ -45,7 +45,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 @@ -86,6 +85,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 @@ -123,6 +149,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 @@ -159,6 +186,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 @@ -250,11 +278,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 @@ -409,6 +441,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 @@ -443,6 +476,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 2d80878

Please sign in to comment.