This repository has been archived by the owner on May 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.gitlab-ci.yml
93 lines (80 loc) · 1.5 KB
/
.gitlab-ci.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
include:
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v6.yml'
.projecttest:
extends: .test
script:
- julia -e 'using InteractiveUtils;
versioninfo()'
- mkdir $JULIA_DEPOT_PATH
- julia --project=$CI_JULIA_PROJECT -e '
using Pkg;
Pkg.resolve();
Pkg.instantiate();
Pkg.build();
include("test/runtests.jl");'
.gputest:
image: nvidia/cuda:10.1-devel
extends: .projecttest
tags:
- nvidia
variables:
CI_JULIA_PROJECT: 'test/gpuenv'
.cputest:
extends: .projecttest
variables:
CI_JULIA_PROJECT: 'test/testenv'
gpu:test:dev:
extends:
- .gputest
- .julia:nightly
allow_failure: true
cpu:test:dev:
extends:
- .cputest
- .julia:nightly
allow_failure: true
gpu:test:v1.1:
extends:
- .gputest
- .julia:1.1
cpu:test:v1.1:
extends:
- .cputest
- .julia:1.1
gpu:test:v1.2:
extends:
- .gputest
- .julia:1.2
cpu:test:v1.2:
extends:
- .cputest
- .julia:1.2
gpu:test:v1.3:
extends:
- .gputest
- .julia:1.3
cpu:test:v1.3:
extends:
- .cputest
- .julia:1.3
documentation:
extends:
- .documentation
- .julia:1.3
tags:
- nvidia
only:
- master
- staging
- trying
pages:
dependencies:
- documentation
stage: deploy
script:
- mv docs/build public
artifacts:
paths:
- public
only:
- master