Skip to content

Commit

Permalink
Buildkite CI configuration for GPU testing (#1093)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre authored Oct 10, 2024
1 parent 0ccd128 commit f6edc3f
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
env:
SECRET_CODECOV_TOKEN: "V1W6eELqofOWx59dQvD1s1Blp64SgjCdW2PtPGrdTjK4iyysFtdmFZGslR004DbgOfqzFHG2yacOtRHt08NiGQy4OqglHPKG2wcPryPE1KbrlWVKbNrrGJDofN8CKwt7a+KWbrxbldKPNMq4kpaaLyDIVxGHyzyPOvIyOWLTsmfZYvfQEY0c0W6rGzox0BR8hI5o6DJXm3GFg2VpCwMJ7YIhbU1uqb0A9zZVC/iRjNVsHgDQuJ2ybtoPsMiZmg3C7DrXAAh1EANsA5nVRHTGVReITtV/plfTwe5fkQ/KpNbhmpj5s0MXS4Z2kLZOHI3OI9NU2swy4sJoXgDGBlAWOA==;U2FsdGVkX19JPGOjpPNnwLMs+yhJ+xvhRahrJ5J+jtdUKwZnt4273Cq0bgjGCkqPuOO9iQlphSvlNK7uip+/+A=="

steps:
- label: ":julia: Julia v1"
notify:
- github_commit_status:
context: "Test GPU / Julia 1"
plugins:
- JuliaCI/julia#v1:
version: "1"
# - JuliaCI/julia-test#v1: ~
- JuliaCI/julia-coverage#v1:
dirs: ["src", "ext"]
command: |
julia --code-coverage=@ --project=test/GPU -e 'using Pkg; Pkg.instantiate()'
julia --code-coverage=@ --project=test/GPU test/GPU/runtests.jl
agents:
queue: "juliagpu"
cuda: "*"
if: build.message !~ /\[skip tests\]/
timeout_in_minutes: 60
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ docs/src/changelog.md
*.DS_Store
/Manifest.toml
/test/coverage/Manifest.toml
/test/GPU/Manifest.toml
/benchmark/Manifest.toml

LocalPreferences.toml
Expand Down
7 changes: 7 additions & 0 deletions test/GPU/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[deps]
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
Ferrite = "c061ca5d-56c9-439f-9c0e-210fe06d3992"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
Ferrite = {path = "../.."}
5 changes: 5 additions & 0 deletions test/GPU/runtests.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
using CUDA
using Ferrite
using Test

@test CUDA.functional()

0 comments on commit f6edc3f

Please sign in to comment.