-
Notifications
You must be signed in to change notification settings - Fork 10
/
.gitlab-ci-ubuntu2004.yml
70 lines (66 loc) · 1.91 KB
/
.gitlab-ci-ubuntu2004.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
############################################################
# Ubuntu 20.04 - Focal Fossa
############################################################
ubuntu2004-setup:
image: cee-gitlab.sandia.gov:4567/trajectory/tracktable/ubuntu:FocalFossa
stage: setup
tags:
- ubuntu
- docker
script:
- mkdir build_ubuntu2004
artifacts:
paths:
- build_ubuntu2004
expire_in: 1 hour
ubuntu2004-configure:
image: cee-gitlab.sandia.gov:4567/trajectory/tracktable/ubuntu:FocalFossa
stage: configure
tags:
- ubuntu
- docker
dependencies:
- ubuntu2004-setup
script:
- cd build_ubuntu2004
- cmake -GNinja -DBUILD_DOCUMENTATION_CXX_ONLY=ON ..
artifacts:
paths:
- build_ubuntu2004
expire_in: 1 hour
ubuntu2004-build:
image: cee-gitlab.sandia.gov:4567/trajectory/tracktable/ubuntu:FocalFossa
stage: build
tags:
- ubuntu
- docker
dependencies:
- ubuntu2004-configure
script:
- cd build_ubuntu2004
- ninja
artifacts:
paths:
- build_ubuntu2004
expire_in: 1 hour
ubuntu2004-test:
image: cee-gitlab.sandia.gov:4567/trajectory/tracktable/ubuntu:FocalFossa
stage: test
tags:
- ubuntu
- docker
dependencies:
- ubuntu2004-build
script:
# Cartopy 0.18, which is in the image by default, has outdated URLs
# for map data. Hopefully 0.19 will be better.
# Nope, it isn't. There's nothing for it but to exclude the tests that
# are failing.
- pip3 install --upgrade cartopy
- cp build_ubuntu2004/lib/_*.so tracktable/Python/tracktable/lib/
- cd build_ubuntu2004
- ctest --output-on-failure --exclude-regex 'C_MemoryUse|C_GREAT_CIRCLE_FIT|P_Render_Trajectories|P_TerrestrialHeatmapExample|P_TerrestrialTrajectoryMapExample|P_Mapmaker_CONUS|P_Mapmaker_Custom_Bounding_Box_Object|P_Mapmaker_Custom_Bounding_Box_Floats|P_Mapmaker_Europe'
artifacts:
paths:
- build_ubuntu2004
expire_in: 1 hour