-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
78 lines (72 loc) · 2 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
stages:
- build
- run
variables:
DEBIAN_FRONTEND: noninteractive
build_ubuntu20.04:
image: ubuntu:20.04
stage: build
before_script:
- apt update && apt -y install build-essential cmake libopencv-dev libceres-dev xvfb && apt clean
script:
- cmake .
- make
artifacts:
paths:
- main
build_ubuntu18.04:
image: ubuntu:18.04
stage: build
before_script:
- apt update && apt -y install build-essential cmake libopencv-dev libceres-dev xvfb && apt clean
script:
- cmake .
- make
run_ubuntu20.04_parking:
image: ubuntu:20.04
stage: run
before_script:
- apt update && apt -y install build-essential cmake libopencv-dev python3-numpy python3-matplotlib xvfb && apt clean
needs:
job: build_ubuntu20.04
artifacts: true
script:
- xvfb-run ./main ./data/parking/ -r -f -headless
- mv output*.avi output.avi
- python3 plot.py poses.txt data/parking/poses.txt --title "Parking Trajectory"
artifacts:
paths:
- output*
- trajectory.png
run_ubuntu20.04_kitti:
image: ubuntu:20.04
stage: run
before_script:
- apt update && apt -y install build-essential cmake libopencv-dev python3-numpy python3-matplotlib xvfb && apt clean
needs:
job: build_ubuntu20.04
artifacts: true
script:
- xvfb-run ./main ./data/kitti05/ -prefix="" -d=6 -r -f -headless
- mv output*.avi output.avi
- python3 plot.py poses.txt data/kitti05/poses.txt --title "Kitti05 Trajectory"
artifacts:
paths:
- output*
- trajectory.png
run_ubuntu20.04_malaga:
image: ubuntu:20.04
stage: run
before_script:
- apt update && apt -y install build-essential cmake libopencv-dev python3-numpy python3-matplotlib xvfb && apt clean
needs:
job: build_ubuntu20.04
artifacts: true
script:
- xvfb-run ./main ./data/malaga/ -prefix="img" -extension=".jpg" -d=5 -r -f -headless
- mv output*.avi output.avi
- python3 plot.py poses.txt --title "Malaga Trajectory"
artifacts:
paths:
- output*
- trajectory.png