Skip to content

Commit

Permalink
test: set up buildkite for GPU testing (#617)
Browse files Browse the repository at this point in the history
* test: set up buildkite for GPU testing

* Don't run buildkite on drafts

* Remove diff

* Trigger CI

* Condition on "gpu" label

* Trigger CI
  • Loading branch information
gdalle authored Nov 7, 2024
1 parent 0da5429 commit d9fc042
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
steps:
- label: "DI GPU tests"
if: |
!build.pull_request.draft &&
build.pull_request.labels includes "gpu"
plugins:
- JuliaCI/julia#v1:
version: "1"
command: |
julia ./DifferentiationInterface/test/GPU/CUDA/simple.jl
agents:
queue: "juliagpu"
cuda: "*"
timeout_in_minutes: 60
5 changes: 5 additions & 0 deletions DifferentiationInterface/test/GPU/CUDA/simple.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@info "Testing on CUDA"
using Pkg
Pkg.add("CUDA")
using CUDA
CUDA.versioninfo()

0 comments on commit d9fc042

Please sign in to comment.