|
1 | 1 | steps: |
2 | 2 | # first, test supported Julia versions (using local CUDA as installed on the system) |
3 | | - - group: ":julia: Julia" |
4 | | - key: "julia" |
5 | | - steps: |
6 | | - - label: "Julia {{matrix.julia}}" |
7 | | - plugins: |
8 | | - - JuliaCI/julia#v1: |
9 | | - version: "{{matrix.julia}}" |
10 | | - - JuliaCI/julia-test#v1: |
11 | | - test_args: "--quickfail" |
12 | | - - JuliaCI/julia-coverage#v1: |
13 | | - dirs: |
14 | | - - src |
15 | | - - lib |
16 | | - - examples |
17 | | - agents: |
18 | | - queue: "juliagpu" |
19 | | - cuda: "*" |
20 | | - commands: | |
21 | | - echo -e "[CUDA_Runtime_jll]\nlocal = \"true\"" >LocalPreferences.toml |
22 | | - if: build.message !~ /\[skip tests\]/ && build.message !~ /\[skip julia\]/ |
23 | | - timeout_in_minutes: 60 |
24 | | - matrix: |
25 | | - setup: |
26 | | - julia: |
27 | | - - "1.8" |
28 | | - - "1.9" |
29 | | - - "1.10" |
30 | | - - "1.11" |
31 | | - - "nightly" |
32 | | - adjustments: |
33 | | - - with: |
34 | | - julia: "1.11" |
35 | | - soft_fail: true |
36 | | - - with: |
37 | | - julia: "nightly" |
38 | | - soft_fail: true |
| 3 | + # key: "julia" |
| 4 | + # steps: |
| 5 | + # - label: "Julia {{matrix.julia}}" |
| 6 | + # plugins: |
| 7 | + # - JuliaCI/julia#v1: |
| 8 | + # version: "{{matrix.julia}}" |
| 9 | + # - JuliaCI/julia-test#v1: |
| 10 | + # test_args: "--quickfail" |
| 11 | + # - JuliaCI/julia-coverage#v1: |
| 12 | + # dirs: |
| 13 | + # - src |
| 14 | + # - lib |
| 15 | + # - examples |
| 16 | + # agents: |
| 17 | + # queue: "juliagpu" |
| 18 | + # cuda: "*" |
| 19 | + # commands: | |
| 20 | + # echo -e "[CUDA_Runtime_jll]\nlocal = \"true\"" >LocalPreferences.toml |
| 21 | + # if: build.message !~ /\[skip tests\]/ && build.message !~ /\[skip julia\]/ |
| 22 | + # timeout_in_minutes: 60 |
| 23 | + # matrix: |
| 24 | + # setup: |
| 25 | + # julia: |
| 26 | + # - "1.8" |
| 27 | + # - "1.9" |
| 28 | + # - "1.10" |
| 29 | + # - "1.11" |
| 30 | + # - "nightly" |
| 31 | + # adjustments: |
| 32 | + # - with: |
| 33 | + # julia: "1.11" |
| 34 | + # soft_fail: true |
| 35 | + # - with: |
| 36 | + # julia: "nightly" |
| 37 | + # soft_fail: true |
39 | 38 |
|
40 | 39 | # then, test supported CUDA toolkits (installed through the artifact system) |
41 | 40 | - group: "CUDA" |
42 | 41 | key: "cuda" |
43 | | - depends_on: "julia" |
44 | 42 | steps: |
45 | 43 | - label: "CUDA {{matrix.cuda}}" |
46 | 44 | plugins: |
|
77 | 75 |
|
78 | 76 | - group: "Memory" |
79 | 77 | key: "memory" |
80 | | - depends_on: "julia" |
81 | 78 | steps: |
82 | 79 | - label: "CuArray with {{matrix.memory}} memory" |
83 | 80 | plugins: |
@@ -135,6 +132,7 @@ steps: |
135 | 132 | using Pkg |
136 | 133 |
|
137 | 134 | println("--- :julia: Instantiating project") |
| 135 | + Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time") |
138 | 136 | withenv("JULIA_PKG_PRECOMPILE_AUTO" => 0) do |
139 | 137 | Pkg.activate(joinpath(pwd(), "lib", lowercase("{{matrix.package}}"))) |
140 | 138 | try |
@@ -167,6 +165,7 @@ steps: |
167 | 165 | julia --project -e ' |
168 | 166 | using Pkg |
169 | 167 |
|
| 168 | + Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time") |
170 | 169 | println("--- :julia: Instantiating project") |
171 | 170 | withenv("JULIA_PKG_PRECOMPILE_AUTO" => 0) do |
172 | 171 | Pkg.instantiate() |
@@ -211,11 +210,15 @@ steps: |
211 | 210 | run_tests: false |
212 | 211 | command: | |
213 | 212 | julia --project -e ' |
| 213 | + using Pkg |
| 214 | + Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time") |
214 | 215 | using CUDA |
215 | 216 | @assert !CUDA.functional() |
216 | 217 | @assert !isdefined(CUDA, :libcudart) |
217 | 218 | CUDA.set_runtime_version!(v"11.6")' |
218 | 219 | julia --project -e ' |
| 220 | + using Pkg |
| 221 | + Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time") |
219 | 222 | using CUDA |
220 | 223 | @assert !CUDA.functional() |
221 | 224 | @assert isdefined(CUDA, :libcudart)' |
@@ -282,6 +285,7 @@ steps: |
282 | 285 | julia --project -e ' |
283 | 286 | using Pkg |
284 | 287 |
|
| 288 | + Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time") |
285 | 289 | println("--- :julia: Instantiating project") |
286 | 290 | Pkg.resolve() |
287 | 291 | Pkg.instantiate() |
@@ -314,6 +318,7 @@ steps: |
314 | 318 | command: | |
315 | 319 | julia --project -e ' |
316 | 320 | using Pkg |
| 321 | + Pkg.add(; url="https://github.com/leios/GPUArrays.jl/", rev="yoyoyo_rebase_time") |
317 | 322 | ENV["CODESPEED_ENVIRONMENT"] = ENV["BUILDKITE_AGENT_NAME"] |
318 | 323 |
|
319 | 324 | println("--- :julia: Instantiating project") |
|
0 commit comments