Skip to content

Commit a173359

Browse files
Buildkite tweaks for monorepo (#1042)
* Test buildkite tweaks * Add missing punctuation * Tweak build script * Tweak CI * proj toml fix * File name error * Fix Proj.toml RLFarm * Add RLCore setup
1 parent b8e9ffd commit a173359

File tree

3 files changed

+39
-16
lines changed

3 files changed

+39
-16
lines changed

.buildkite/pipeline.yml

+33-15
Original file line numberDiff line numberDiff line change
@@ -7,35 +7,53 @@ steps:
77
- JuliaCI/julia#v1:
88
version: "1"
99
- JuliaCI/julia-test#v1:
10-
project: ./src/ReinforcementLearningCore
11-
- JuliaCI/julia-coverage#v1:
12-
codecov: true
10+
run_tests: false
11+
command: |
12+
julia -e '
13+
using Pkg
14+
15+
println("--- :julia: Instantiating project")
16+
using Pkg
17+
Pkg.develop(path="src/ReinforcementLearningBase")
18+
Pkg.develop(path="src/ReinforcementLearningEnvironments")
19+
Pkg.develop(path="src/ReinforcementLearningCore")
20+
21+
println("+++ :julia: Running tests")
22+
Pkg.test("ReinforcementLearningCore", coverage=true)
23+
'
1324
agents:
1425
queue: "juliagpu"
1526
cuda: "*"
1627
if: build.message !~ /\[skip tests\]/
1728
timeout_in_minutes: 60
18-
- label: "Julia v1 RLZoo"
29+
- label: "Julia v1 RLFarm"
1930
plugins:
2031
- JuliaCI/julia#v1:
2132
version: "1"
22-
- JuliaCI/julia-test#v1:
23-
project: ./src/ReinforcementLearningZoo
2433
- JuliaCI/julia-coverage#v1:
25-
codecov: true
34+
dirs:
35+
- src/ReinforcementLearningFarm/src
36+
- JuliaCI/julia-test#v1:
37+
run_tests: false
38+
command: |
39+
julia -e '
40+
using Pkg
41+
42+
println("--- :julia: Instantiating project")
43+
using Pkg
44+
Pkg.develop(path="src/ReinforcementLearningBase")
45+
Pkg.develop(path="src/ReinforcementLearningEnvironments")
46+
Pkg.develop(path="src/ReinforcementLearningCore")
47+
Pkg.develop(path="src/ReinforcementLearningFarm")
48+
49+
println("+++ :julia: Running tests")
50+
Pkg.test("ReinforcementLearningFarm", coverage=true)
51+
'
2652
agents:
2753
queue: "juliagpu"
2854
cuda: "*"
2955
if: build.message !~ /\[skip tests\]/
3056
timeout_in_minutes: 60
31-
- label: "Julia v1 RLExperiments"
32-
plugins:
33-
- JuliaCI/julia#v1:
34-
version: "1"
35-
- JuliaCI/julia-test#v1:
36-
project: ./src/ReinforcementLearningZoo
37-
- JuliaCI/julia-coverage#v1:
38-
codecov: true
3957
agents:
4058
queue: "juliagpu"
4159
cuda: "*"

src/ReinforcementLearningFarm/Project.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ ReinforcementLearningCore = "0.14"
1313
julia = "1.9"
1414

1515
[extras]
16+
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
17+
Metal = "dde4c033-4e86-420c-a63e-0dd931031962"
18+
Preferences = "21216c6a-2e73-6563-6e65-726566657250"
1619
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
20+
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
21+
cuDNN = "02a925ec-e4fe-4b08-9a7e-0d78e3d38ccd"
1722

1823
[targets]
19-
test = []
24+
test = ["CUDA", "Metal", "Preferences", "Test", "UUIDs", "cuDNN"]

0 commit comments

Comments
 (0)