forked from JuliaGPU/CuArrays.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
44 lines (39 loc) · 1.29 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
variables:
CI_IMAGE_TAG: 'cuda'
JULIA_NUM_THREADS: '4'
include:
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v4/common.yml'
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v4/test_v1.0.yml'
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v4/test_v1.1.yml'
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v4/test_dev.yml'
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v4/coverage_v1.1.yml'
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v4/documentation_v1.1.yml'
test:dev:
allow_failure: true
coverage:
allow_failure: true
only:
- master
pages:
stage: deploy
script:
- mv docs/build public
artifacts:
paths:
- public
only:
- master
flux:
stage: test
image: "juliagpu/julia:v1.1-cuda"
script:
- mkdir $JULIA_DEPOT_PATH # Pkg.jl#325
- julia -e 'using Pkg;
Pkg.develop([PackageSpec(path=pwd());
[PackageSpec(name=pkg)
for pkg in split(get(ENV,"CI_DEV_PKGS",""))]]);
Pkg.build("CuArrays")'
- julia -e 'using Pkg;
Pkg.add("Flux");
Pkg.test("Flux")'
allow_failure: true