-
Notifications
You must be signed in to change notification settings - Fork 4
/
.gitlab-ci.yml
84 lines (75 loc) · 1.73 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
image: omos/argon2-gpu:zesty-nocuda
before_script:
- git submodule update --init
# workaround for missing symlink on Ubuntu:
- test -f /usr/lib/x86_64-linux-gnu/libOpenCL.so || ln -s libOpenCL.so.1 /usr/lib/x86_64-linux-gnu/libOpenCL.so
stages:
- build
- test
build-gcc-cuda:
stage: build
image: omos/argon2-gpu:zesty-cuda
script:
- export COMPILER=gcc
- export CUDA=cuda
- . scripts/ci-build.sh
artifacts:
paths:
- build/gcc-cuda/
build-gcc-nocuda:
stage: build
script:
- export COMPILER=gcc
- export CUDA=nocuda
- . scripts/ci-build.sh
artifacts:
paths:
- build/gcc-nocuda/
build-clang-cuda:
stage: build
image: omos/argon2-gpu:zesty-cuda
script:
- export COMPILER=clang
- export CUDA=cuda
- . scripts/ci-build.sh
artifacts:
paths:
- build/clang-cuda/
build-clang-nocuda:
stage: build
script:
- export COMPILER=clang
- export CUDA=nocuda
- . scripts/ci-build.sh
artifacts:
paths:
- build/clang-nocuda/
update-pocl:
stage: build
script:
- . scripts/ci-update-pocl.sh
cache:
key: pocl-build
paths:
- pocl/
artifacts:
paths:
- pocl/
test-gcc-nocuda:
stage: test
script:
- export COMPILER=gcc
- export CUDA=nocuda
- . scripts/ci-test.sh
dependencies:
- build-gcc-nocuda
- update-pocl
test-clang-nocuda:
stage: test
script:
- export COMPILER=clang
- export CUDA=nocuda
- . scripts/ci-test.sh
dependencies:
- build-clang-nocuda
- update-pocl