-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
98 lines (81 loc) · 1.93 KB
/
.gitlab-ci.yml
File metadata and controls
98 lines (81 loc) · 1.93 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
# This file is part of project link.developers/ld-node-camera-basler.
# It is copyrighted by the contributors recorded in the version control history of the file,
# available from its original location https://gitlab.com/link.developers.beta/ld-node-camera-basler.
#
# SPDX-License-Identifier: MPL-2.0
stages:
- verify
- build
- test
- deploy
.verify: &verify
stage: verify
script:
- conda install -y ld-tool-liam ld-templates
- ld-tool-liam verify .
.build: &build
stage: build
script:
- conda install -y build-tool
- build-tool build conda-recipe -m conda-recipe/conda_build_config_${PLATFORM}.yaml --croot ./builds --no-test
artifacts:
paths:
- ./builds/noarch/*.tar.bz2
- ./builds/linux-64/*.tar.bz2
- ./builds/linux-aarch64/*.tar.bz2
- ./builds/win-64/*.tar.bz2
.test: &test
stage: test
script:
- conda install -y build-tool
- build-tool test-channel ./builds
.deploy: &deploy
stage: deploy
script:
- conda install -y darts-cli
- darts-cli conda link.developers ./builds/
only:
- master@link.developers.beta/ld-node-camera-basler
.tag-linux-intel64: &tag-linux-intel64
tags:
- linux
- docker
image: community-ci-intel64:latest
.tag-linux-aarch64: &tag-linux-aarch64
tags:
- linux
- docker
image: community-ci-aarch64:latest
.tag-win-intel64: &tag-win-intel64
tags:
- win
liam-verify:
<<: *verify
<<: *tag-linux-intel64
build-linux-intel64:
variables:
PLATFORM: "linux-x86-64"
<<: *build
<<: *tag-linux-intel64
test-linux-intel64:
<<: *test
<<: *tag-linux-intel64
build-linux-aarch64:
variables:
PLATFORM: "linux-aarch64"
<<: *build
<<: *tag-linux-intel64
test-linux-aarch64:
<<: *test
<<: *tag-linux-aarch64
build-win-intel64:
variables:
PLATFORM: "win-x86-64"
<<: *build
<<: *tag-win-intel64
test-win-intel64:
<<: *test
<<: *tag-win-intel64
deploy:
<<: *deploy
<<: *tag-linux-intel64