Skip to content

Commit d9fc042

Browse files
authored
test: set up buildkite for GPU testing (#617)
* test: set up buildkite for GPU testing * Don't run buildkite on drafts * Remove diff * Trigger CI * Condition on "gpu" label * Trigger CI
1 parent 0da5429 commit d9fc042

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

.buildkite/pipeline.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
steps:
2+
- label: "DI GPU tests"
3+
if: |
4+
!build.pull_request.draft &&
5+
build.pull_request.labels includes "gpu"
6+
plugins:
7+
- JuliaCI/julia#v1:
8+
version: "1"
9+
command: |
10+
julia ./DifferentiationInterface/test/GPU/CUDA/simple.jl
11+
agents:
12+
queue: "juliagpu"
13+
cuda: "*"
14+
timeout_in_minutes: 60
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@info "Testing on CUDA"
2+
using Pkg
3+
Pkg.add("CUDA")
4+
using CUDA
5+
CUDA.versioninfo()

0 commit comments

Comments
 (0)