-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
182 lines (162 loc) · 4.46 KB
/
.gitlab-ci.yml
File metadata and controls
182 lines (162 loc) · 4.46 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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
include:
# Metadata shared my many jobs
- local: .gitlab/rules.yml
- local: .gitlab/artifacts.yml
- local: .gitlab/upload.yml
- local: .gitlab/warning-policy.yml
# OS builds.
- local: .gitlab/os-linux.yml
- local: .gitlab/os-windows.yml
stages:
- build
- test
- upload
################################################################################
# Job declarations
#
# Each job must pull in each of the following keys:
#
# - a "base image"
# - a build script
# - tags for the jobs
# - already provided for upload and CI update jobs
# - rules for when to run the job
#
# Additionally, jobs may also contain:
#
# - artifacts
# - needs jobs for required jobs
################################################################################
# Linux
## Basic builds
ubuntu2204-arrows:build:
extends:
- .ubuntu2204_arrows
- .cmake_build_linux
- .linux_builder_tags
- .cmake_build_artifacts
- .rules
ubuntu2204-arrows:test:
extends:
- .ubuntu2204_arrows
- .cmake_test_linux
- .linux_tester_tags
- .cmake_test_artifacts
- .rules
variables:
RUN_DEPENDENT: "true"
needs:
- ubuntu2204-arrows:build
# linux python wheels
wheel-linux-python38-x86_64:build:
extends:
- .wheel_linux38_x86_64
- .cmake_build_wheel_linux
- .linux_builder_tags
- .cmake_wheel_artifacts
- .rules
wheel-linux-python38-x86_64:test:
extends:
- .test_wheel_linux38_x86_64
- .cmake_test_wheel_linux
- .linux_tester_tags
- .cmake_wheel_artifacts
- .rules
variables:
RUN_DEPENDENT: "true"
needs:
- wheel-linux-python38-x86_64:build
wheel-linux-python38-x86_64_burnout:build:
extends:
- .wheel_linux38_x86_64_burnout
- .cmake_build_wheel_linux
- .linux_builder_tags
- .cmake_wheel_artifacts
- .rules
wheel-linux-python38-x86_64_burnout:test:
extends:
- .test_wheel_linux38_x86_64
- .cmake_test_burnout_wheel_linux
- .linux_tester_tags
- .cmake_wheel_artifacts
- .rules
variables:
RUN_DEPENDENT: "true"
needs:
- wheel-linux-python38-x86_64:build
# Windows
## Basic builds
windows-vs2022-ninja-arrows:build:
extends:
- .windows_vs2022_ninja_arrows
- .cmake_build_windows
- .windows_builder_tags
- .cmake_build_artifacts
- .rules
windows-vs2022-ninja-arrows:test:
extends:
- .windows_vs2022_ninja_arrows
- .cmake_test_windows
- .windows_builder_tags
- .cmake_test_artifacts
- .rules
variables:
RUN_DEPENDENT: "true"
needs:
- windows-vs2022-ninja-arrows:build
# windows wheels
wheel-windows-python38-x86_64:build:
extends:
- .wheel_windows38_x86_64
- .cmake_build_wheel_windows
- .windows_builder_tags
- .cmake_wheel_artifacts
- .rules
wheel-windows-python38-x86_64:test:
extends:
- .wheel_windows38_x86_64
- .cmake_test_wheel_windows
- .windows_builder_tags
- .cmake_wheel_artifacts
- .rules
variables:
RUN_DEPENDENT: "true"
needs:
- wheel-windows-python38-x86_64:build
wheel-windows-python38-x86_64_burnout:build:
extends:
- .wheel_windows38_x86_64_burnout
- .cmake_build_wheel_windows
- .windows_builder_tags
- .cmake_wheel_artifacts
- .rules
wheel-windows-python38-x86_64_burnout:test:
extends:
- .wheel_windows38_x86_64
- .cmake_test_burnout_wheel_windows
- .windows_builder_tags
- .cmake_wheel_artifacts
- .rules
variables:
RUN_DEPENDENT: "true"
needs:
- wheel-windows-python38-x86_64_burnout:build
wheel:kwiver:upload:
extends:
- .pypi_kwiver_upload
- .rules
variables:
IS_FOR_RELEASE: "true"
needs:
- wheel-linux-python38-x86_64:build
- job: wheel-linux-python38-x86_64:test
artifacts: false
- wheel-linux-python38-x86_64_burnout:build
- job: wheel-linux-python38-x86_64_burnout:test
artifacts: false
- wheel-windows-python38-x86_64:build
- job: wheel-windows-python38-x86_64:test
artifacts: false
- wheel-windows-python38-x86_64_burnout:build
- job: wheel-windows-python38-x86_64_burnout:test
artifacts: false