forked from JuliaParallel/Dagger.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpipeline.yml
118 lines (118 loc) · 3.41 KB
/
pipeline.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
.test: &test
if: build.message !~ /\[skip tests\]/
agents:
queue: "juliaecosystem"
sandbox_capable: "true"
os: linux
arch: x86_64
command: "julia --project -e 'using Pkg; Pkg.develop(;path=\"lib/TimespanLogging\")'"
.bench: &bench
if: build.message =~ /\[run benchmarks\]/
agents:
queue: "juliaecosystem"
sandbox_capable: "true"
os: linux
arch: x86_64
num_cpus: 16
steps:
- label: Julia 1.8
timeout_in_minutes: 90
<<: *test
plugins:
- JuliaCI/julia#v1:
version: "1.8"
- JuliaCI/julia-test#v1:
julia_args: "--threads=1"
- JuliaCI/julia-coverage#v1:
codecov: true
- label: Julia 1.9
timeout_in_minutes: 90
<<: *test
plugins:
- JuliaCI/julia#v1:
version: "1.9"
- JuliaCI/julia-test#v1:
julia_args: "--threads=1"
- JuliaCI/julia-coverage#v1:
codecov: true
- label: Julia 1.10
timeout_in_minutes: 90
<<: *test
plugins:
- JuliaCI/julia#v1:
version: "1.10"
- JuliaCI/julia-test#v1:
julia_args: "--threads=1"
- JuliaCI/julia-coverage#v1:
codecov: true
- label: Julia nightly
timeout_in_minutes: 90
<<: *test
plugins:
- JuliaCI/julia#v1:
version: "1.10-nightly"
- JuliaCI/julia-test#v1:
julia_args: "--threads=1"
- JuliaCI/julia-coverage#v1:
codecov: true
- label: Julia 1.8 (macOS)
timeout_in_minutes: 90
<<: *test
agents:
queue: "juliaecosystem"
os: macos
arch: x86_64
plugins:
- JuliaCI/julia#v1:
version: "1.8"
- JuliaCI/julia-test#v1:
julia_args: "--threads=1"
- JuliaCI/julia-coverage#v1:
codecov: true
- label: Julia 1.8 - TimespanLogging
timeout_in_minutes: 20
<<: *test
plugins:
- JuliaCI/julia#v1:
version: "1.8"
- JuliaCI/julia-coverage#v1:
codecov: true
command: "julia --project -e 'using Pkg; Pkg.instantiate(); Pkg.develop(;path=\"lib/TimespanLogging\"); Pkg.test(\"TimespanLogging\")'"
- label: Julia 1.8 - DaggerWebDash
timeout_in_minutes: 20
<<: *test
plugins:
- JuliaCI/julia#v1:
version: "1.8"
- JuliaCI/julia-coverage#v1:
codecov: true
command: "julia -e 'using Pkg; Pkg.develop(;path=pwd()); Pkg.develop(;path=\"lib/TimespanLogging\"); Pkg.develop(;path=\"lib/DaggerWebDash\"); include(\"lib/DaggerWebDash/test/runtests.jl\")'"
- label: Benchmarks
timeout_in_minutes: 120
<<: *bench
plugins:
- JuliaCI/julia#v1:
version: "1.8"
- JuliaCI/julia-test#v1:
run_tests: false
command: "julia -e 'using Pkg; Pkg.add(\"BenchmarkTools\"); Pkg.develop(;path=pwd())'; JULIA_PROJECT=\"$PWD\" julia --project benchmarks/benchmark.jl"
env:
JULIA_NUM_THREADS: "4"
BENCHMARK: "nmf:raw,dagger"
BENCHMARK_PROCS: "4:4"
BENCHMARK_SCALE: "5:5:50"
artifacts:
- benchmarks/result*
- label: DTables.jl stability test
timeout_in_minutes: 20
plugins:
- JuliaCI/julia#v1:
version: "1.8"
env:
JULIA_NUM_THREADS: "4"
agents:
queue: "juliaecosystem"
sandbox_capable: "true"
os: linux
arch: x86_64
command: "git clone https://github.com/JuliaParallel/DTables.jl.git ; julia -t4 -e 'using Pkg; Pkg.activate(\"DTables.jl\"); Pkg.develop(;path=\".\"); Pkg.instantiate(); Pkg.test()'"