Skip to content

Commit 2b57be6

Browse files
authored
Add CI (#29)
1 parent 189d0c3 commit 2b57be6

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

.buildkite/pipeline.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
steps:
2+
- label: "AMDGPU - Julia 1.11"
3+
plugins:
4+
- JuliaCI/julia#v1:
5+
version: "1.11"
6+
- JuliaCI/julia-test#v1:
7+
- JuliaCI/julia-coverage#v1:
8+
codecov: true
9+
agents:
10+
queue: "juliagpu"
11+
rocm: "*"
12+
rocmgpu: "*"
13+
if: build.message !~ /\[skip tests\]/
14+
command: |
15+
apt-get update && apt-get install -y xvfb
16+
Xvfb :99 -screen 0 1280x1024x24 &
17+
export DISPLAY=:99
18+
julia --project -e 'using Pkg; Pkg.update()'
19+
timeout_in_minutes: 30
20+
env:
21+
JULIA_NUM_THREADS: 4
22+
GSP_TEST_AMDGPU: true
23+
24+
- label: "CUDA - Julia 1.11"
25+
plugins:
26+
- JuliaCI/julia#v1:
27+
version: "1.11"
28+
- JuliaCI/julia-test#v1:
29+
- JuliaCI/julia-coverage#v1:
30+
codecov: true
31+
agents:
32+
queue: "juliagpu"
33+
cuda: "*"
34+
if: build.message !~ /\[skip tests\]/
35+
command: |
36+
apt-get update && apt-get install -y xvfb
37+
Xvfb :99 -screen 0 1280x1024x24 &
38+
export DISPLAY=:99
39+
julia --project -e 'using Pkg; Pkg.update()'
40+
timeout_in_minutes: 30
41+
env:
42+
JULIA_NUM_THREADS: 4
43+
GSP_TEST_CUDA: true

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This software is free for non-commercial, research and evaluation use
33
# under the terms of the LICENSE.md file.
44

5-
ENV["GSP_TEST_AMDGPU"] = true
5+
# ENV["GSP_TEST_AMDGPU"] = true
66
# ENV["GSP_TEST_CUDA"] = true
77

88
import Pkg

0 commit comments

Comments
 (0)