Skip to content

Commit 58736e4

Browse files
authored
Reverse-CI improvements. (#438)
1 parent a3bcdba commit 58736e4

File tree

1 file changed

+42
-15
lines changed

1 file changed

+42
-15
lines changed

.buildkite/pipeline.yml

Lines changed: 42 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,18 @@ steps:
22
- label: "CUDA.jl"
33
plugins:
44
- JuliaCI/julia#v1:
5-
version: 1.7
5+
version: 1.8
66
- JuliaCI/julia-coverage#v1:
77
codecov: true
88
command: |
9-
julia -e 'using Pkg;
9+
julia -e 'using Pkg
1010
11-
println("--- :julia: Instantiating project");
12-
Pkg.develop(PackageSpec(path=pwd()));
13-
Pkg.add(PackageSpec(name="CUDA", rev="master"));
14-
Pkg.instantiate();
11+
println("--- :julia: Instantiating project")
12+
Pkg.develop(; path=pwd())
13+
Pkg.develop(; name="CUDA")
1514
16-
println("+++ :julia: Running tests");
17-
Pkg.test("CUDA"; coverage=true);'
15+
println("+++ :julia: Running tests")
16+
Pkg.test("CUDA"; coverage=true)'
1817
agents:
1918
queue: "juliagpu"
2019
cuda: "*"
@@ -24,25 +23,53 @@ steps:
2423
- label: "oneAPI.jl"
2524
plugins:
2625
- JuliaCI/julia#v1:
27-
version: 1.7
26+
version: 1.8
2827
- JuliaCI/julia-coverage#v1:
2928
codecov: true
3029
command: |
3130
julia -e 'using Pkg;
3231
33-
println("--- :julia: Instantiating project");
34-
Pkg.develop(PackageSpec(path=pwd()));
35-
Pkg.add(PackageSpec(name="oneAPI", rev="master"));
36-
Pkg.instantiate();
32+
println("--- :julia: Instantiating project")
33+
Pkg.develop(; path=pwd())
34+
Pkg.develop(; name="oneAPI")
35+
36+
println("+++ :julia: Building support library")
37+
include(joinpath(Pkg.devdir(), "oneAPI", "deps", "build_ci.jl"))
38+
Pkg.activate()
3739
38-
println("+++ :julia: Running tests");
39-
Pkg.test("oneAPI"; coverage=true);'
40+
println("+++ :julia: Running tests")
41+
Pkg.test("oneAPI"; coverage=true)'
4042
agents:
4143
queue: "juliagpu"
4244
intel: "*"
4345
if: build.message !~ /\[skip tests\]/
4446
timeout_in_minutes: 60
4547

48+
- label: "Metal.jl"
49+
plugins:
50+
- JuliaCI/julia#v1:
51+
version: 1.8
52+
- JuliaCI/julia-coverage#v1:
53+
codecov: true
54+
command: |
55+
julia -e 'using Pkg;
56+
57+
println("--- :julia: Instantiating project")
58+
Pkg.develop(; path=pwd())
59+
Pkg.develop(; name="Metal")
60+
61+
println("+++ :julia: Building support library")
62+
include(joinpath(Pkg.devdir(), "Metal", "deps", "build_ci.jl"))
63+
Pkg.activate()
64+
65+
println("+++ :julia: Running tests")
66+
Pkg.test("Metal"; coverage=true)'
67+
agents:
68+
queue: "juliagpu"
69+
metal: "*"
70+
if: build.message !~ /\[skip tests\]/
71+
timeout_in_minutes: 60
72+
4673
env:
4774
JULIA_PKG_SERVER: "" # it often struggles with our large artifacts
4875
SECRET_CODECOV_TOKEN: "GrevHmzmr2Vt6UK4wbbTTB1+kcMcIlF6nCXVCk3Z0plHDimpD6BwdN9T2A+5J9k3I2em0xXUqpt+2qUSqM8Bn5mNdpjR0TvxVY3oYXc+qzvBXmcZJpuCgJeoTP1P+kVFwszUn4na3fohNq9Qffp6tXMn/j8yJQKOiiC8mkD0aPEI0zISHuDaa/7j7JYf0vTrMRRZ9BMUQHmFuVaIQN8FLGG2BiE3236rj4eHh0lj2IfekCG3wd/LUzAsMx0MC3kIR8WzOWW2rf6xUMPkjm5+NuHwhAOcZc0+LRM7GYIwoW/nHAgyIqjvLiInNFmaJk+7V/GAKtd+gSAIzmyBUHAy6A==;U2FsdGVkX1+4ZljneQoaNE295nRIx8D6+WoFIgT6Pg2BXHaTyhTL4sxEcG0jX0e7oq68uvi4bK7x7YMS4L0Kew=="

0 commit comments

Comments
 (0)