-
Notifications
You must be signed in to change notification settings - Fork 55
/
.gitlab-ci.yml
51 lines (46 loc) · 1.38 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
stages:
- build
build-ubuntu18-release:
stage: build
tags:
- ubuntu18-optix
script:
- mkdir bin_release
- cd bin_release
- export PATH=$PATH:/usr/local/cuda/bin
- cmake -DCMAKE_BUILD_TYPE=Release -DOptiX_INSTALL_DIR=/usr/local/NVIDIA-OptiX-SDK-7.0.0-linux64 -DOWL_BUILD_SAMPLES=ON -DOWL_BUILD_ADVANCED_TESTS=ON ..
- make
- make test
build-ubuntu18-debug:
stage: build
tags:
- ubuntu18-optix
script:
- mkdir bin_debug
- cd bin_debug
- export PATH=$PATH:/usr/local/cuda/bin
- cmake -DCMAKE_BUILD_TYPE=Debug -DOptiX_INSTALL_DIR=/usr/local/NVIDIA-OptiX-SDK-7.0.0-linux64 -DOWL_BUILD_SAMPLES=ON -DOWL_BUILD_ADVANCED_TESTS=ON ..
- make
- make test
build-centos7-release:
stage: build
tags:
- centos7-optix
script:
- mkdir bin_release
- cd bin_release
- export PATH=$PATH:/usr/local/cuda/bin
- cmake3 -DCMAKE_BUILD_TYPE=Release -DOptiX_INSTALL_DIR=/usr/local/NVIDIA-OptiX-SDK-7.0.0-linux64 -DOWL_BUILD_SAMPLES=ON -DOWL_BUILD_ADVANCED_TESTS=ON ..
- make
- make test
build-centos7-debug:
stage: build
tags:
- centos7-optix
script:
- mkdir bin_debug
- cd bin_debug
- export PATH=$PATH:/usr/local/cuda/bin
- cmake3 -DCMAKE_BUILD_TYPE=Debug -DOptiX_INSTALL_DIR=/usr/local/NVIDIA-OptiX-SDK-7.0.0-linux64 -DOWL_BUILD_SAMPLES=ON -DOWL_BUILD_ADVANCED_TESTS=ON ..
- make
- make test