-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
64 lines (58 loc) · 1.17 KB
/
.gitlab-ci.yml
File metadata and controls
64 lines (58 loc) · 1.17 KB
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
build-debian:
stage: build
tags:
- debian
artifacts:
untracked: true
script:
- mkdir build && cd build
- cmake -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DCPPGRAD_CUDA=OFF ..
- cmake --build . --config Release
build-windows:
stage: build
tags:
- windows
artifacts:
untracked: true
script:
- mkdir build
- cd build
- cmake -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DCPPGRAD_CUDA=OFF ..
- cmake --build . --config Release
build-macos:
stage: build
tags:
- macos
artifacts:
untracked: true
script:
- mkdir build && cd build
- cmake -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DCPPGRAD_CUDA=OFF ..
- cmake --build . --config Release
test-debian:
stage: test
tags:
- debian
dependencies:
- build-debian
script:
- cd build
- ctest --output-on-failure .
test-windows:
stage: test
tags:
- windows
dependencies:
- build-windows
script:
- cd build
- ctest --output-on-failure .
test-macos:
stage: test
tags:
- macos
dependencies:
- build-macos
script:
- cd build
- ctest --output-on-failure .