forked from IFL-CAMP/supra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
103 lines (95 loc) · 4.34 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
93
94
95
96
97
98
99
100
101
102
103
stages:
- build
build_ubuntu_1604_cuda10_ros:
stage: build
tags:
- linux
- g++
image: supra-builder:ros-kinetic-cuda-10.0-ubuntu-16.04
script:
- mkdir -p build_gcc
- cd build_gcc
- cmake .. -DCMAKE_CXX_COMPILER=g++ -DSUPRA_DEVICE_CEPHASONICS=OFF -DSUPRA_DEVICE_ULTRASONIX=OFF -DSUPRA_DOWNLOAD_SAMPLEDATA=OFF -DSUPRA_USE_CAMPVIS=OFF -DSUPRA_PROFILING=OFF -DSUPRA_INTERFACE_ROS=OFF -DSUPRA_DEVICE_TRACKING_ROS=ON -DSUPRA_WARNINGS_AS_ERRORS=ON
- make
build_ubuntu_1804_cuda10_nohw:
stage: build
tags:
- linux
- g++
image: supra-builder:cuda-10.0-ubuntu-18.04
script:
- mkdir -p build_gcc
- cd build_gcc
- cmake .. -DCMAKE_CXX_COMPILER=g++ -DSUPRA_DEVICE_CEPHASONICS=OFF -DSUPRA_DEVICE_ULTRASONIX=OFF -DSUPRA_DOWNLOAD_SAMPLEDATA=OFF -DSUPRA_USE_CAMPVIS=OFF -DSUPRA_PROFILING=OFF -DSUPRA_INTERFACE_ROS=OFF -DSUPRA_WARNINGS_AS_ERRORS=ON -DSUPRA_TORCH=ON -DTorch_DIR=/opt/libtorch/share/cmake/Torch
- make
build_ubuntu_1604_cuda10_portable:
stage: build
tags:
- linux
- g++
image: supra-builder:cuda-10.0-ubuntu-16.04
script:
- mkdir -p build_gcc
- cd build_gcc
- cmake .. -DCMAKE_CXX_COMPILER=g++ -DSUPRA_DEVICE_CEPHASONICS=OFF -DSUPRA_DEVICE_ULTRASONIX=OFF -DSUPRA_DOWNLOAD_SAMPLEDATA=OFF -DSUPRA_USE_CAMPVIS=OFF -DSUPRA_PROFILING=OFF -DSUPRA_INTERFACE_ROS=OFF -DSUPRA_WARNINGS_AS_ERRORS=ON -DSUPRA_CUDA_PORTABLE=ON
- make
build_ubuntu_1804_cuda_ros:
stage: build
tags:
- linux
- g++
image: supra-builder:ros-melodic-cuda-10.0-ubuntu-18.04
script:
- mkdir -p build_gcc
- cd build_gcc
- cmake .. -DCMAKE_CXX_COMPILER=g++ -DSUPRA_DEVICE_CEPHASONICS=OFF -DSUPRA_DEVICE_ULTRASONIX=OFF -DSUPRA_DOWNLOAD_SAMPLEDATA=OFF -DSUPRA_USE_CAMPVIS=OFF -DSUPRA_PROFILING=OFF -DSUPRA_INTERFACE_ROS=OFF -DSUPRA_DEVICE_TRACKING_ROS=ON -DSUPRA_WARNINGS_AS_ERRORS=ON
- make
build_ubuntu_1404_cuda_cephasonics:
stage: build
tags:
- linux
- g++
image: supra-builder:ros-indigo-cuda-10.0-ubuntu-14.04-cephasonics
script:
- mkdir -p build_gcc
- cd build_gcc
- cmake .. -DCMAKE_CXX_COMPILER=g++ -DSUPRA_DEVICE_CEPHASONICS=ON -DSUPRA_DEVICE_ULTRASONIX=OFF -DSUPRA_DOWNLOAD_SAMPLEDATA=OFF -DSUPRA_USE_CAMPVIS=OFF -DSUPRA_PROFILING=OFF -DSUPRA_INTERFACE_ROS=OFF -DSUPRA_DEVICE_TRACKING_ROS=ON -DSUPRA_WARNINGS_AS_ERRORS=ON
- make
build_ubuntu_nocuda:
stage: build
tags:
- linux
- g++
image: supra-builder:nocuda-ubuntu
script:
- mkdir -p build_gcc
- cd build_gcc
- cmake .. -DCMAKE_CXX_COMPILER=g++ -DSUPRA_BEAMFORMER=OFF -DSUPRA_DEVICE_CEPHASONICS=OFF -DSUPRA_DEVICE_ULTRASONIX=OFF -DSUPRA_DOWNLOAD_SAMPLEDATA=OFF -DSUPRA_USE_CAMPVIS=OFF -DSUPRA_PROFILING=OFF -DSUPRA_INTERFACE_ROS=OFF -DSUPRA_DEVICE_TRACKING_ROS=OFF -DSUPRA_CUDA=OFF -DSUPRA_WARNINGS_AS_ERRORS=ON
- make
build_windows_vs2017:
stage: build
tags:
- windows
script:
- IF NOT EXIST "build_msvs" mkdir "build_msvs"
- cd build_msvs
- cmake .. -G "Visual Studio 15 2017 Win64" -DSUPRA_DEVICE_CEPHASONICS=OFF -DSUPRA_DEVICE_ULTRASONIX=OFF -DSUPRA_DOWNLOAD_SAMPLEDATA=OFF -DSUPRA_USE_CAMPVIS=OFF -DSUPRA_PROFILING=OFF -DSUPRA_INTERFACE_ROS=OFF -DOpenIGTLink_DIR=C:/Users/ifl-ci/repo/OpenIGTLink/build_vs2017 -DQt5_DIR=C:/Users/ifl-ci/repo/QT5/5.12.3/msvc2017_64/lib/cmake/Qt5
- cmake --build .
build_windows_vs2015:
stage: build
tags:
- windows
script:
- IF NOT EXIST "build_msvs" mkdir "build_msvs"
- cd build_msvs
- cmake .. -G "Visual Studio 14 2015 Win64" -DSUPRA_DEVICE_CEPHASONICS=OFF -DSUPRA_DEVICE_ULTRASONIX=OFF -DSUPRA_DOWNLOAD_SAMPLEDATA=OFF -DSUPRA_USE_CAMPVIS=OFF -DSUPRA_PROFILING=OFF -DSUPRA_INTERFACE_ROS=OFF -DOpenIGTLink_DIR=C:/Users/ifl-ci/repo/OpenIGTLink/build -DQt5_DIR=C:/Users/ifl-ci/repo/QT5/5.10.0/msvc2015_64/lib/cmake/Qt5
- cmake --build .
build_windows_vs2015_win32:
stage: build
tags:
- windows
script:
- IF NOT EXIST "build_msvs_win32" mkdir "build_msvs_win32"
- cd build_msvs_win32
- cmake .. -G "Visual Studio 14 2015" -DSUPRA_CUDA=OFF -DSUPRA_DEVICE_CEPHASONICS=OFF -DSUPRA_DEVICE_ULTRASONIX=ON -DSUPRA_DOWNLOAD_SAMPLEDATA=OFF -DSUPRA_USE_CAMPVIS=OFF -DSUPRA_PROFILING=OFF -DSUPRA_INTERFACE_ROS=OFF -DSUPRA_EXTERNALS="C:/Users/ifl-ci/repo" -DOpenIGTLink_DIR=C:/Users/ifl-ci/repo/OpenIGTLink/build_win32 -DQt5_DIR=C:/Users/ifl-ci/repo/QT5/5.10.0/msvc2015/lib/cmake/Qt5
- cmake --build .