-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
74 lines (63 loc) · 1.69 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
#
# Copyright (c) Honda Research Institute Europe GmbH
#
# This file is part of ToolBOSLib.
#
# ToolBOSLib is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ToolBOSLib is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with ToolBOSLib. If not, see <http://www.gnu.org/licenses/>.
#
#
default:
image: dmz-gitlab.honda-ri.de:5050/gitlabrunner/buildcontainers/hri-eu-main:latest
interruptible: true
variables:
TOOLBOSCORE_VERSION: "4.2"
stages:
- build
- test
- check
buildLinux:
stage: build
script:
- ./ci-buildLinux.sh $TOOLBOSCORE_VERSION
artifacts:
paths:
- lib
- test
buildWindows:
stage: build
image: dmz-gitlab.honda-ri.de:5050/gitlabrunner/buildcontainers/hri-eu-wine:latest
script:
- ./ci-buildWindows.sh $TOOLBOSCORE_VERSION
artifacts:
paths:
- lib
- test
testLinux:
stage: test
needs: [buildLinux]
script:
- ./ci-testLinux.sh $TOOLBOSCORE_VERSION
testWindows:
stage: test
needs: [buildWindows]
script:
- ./ci-testWindows.sh $TOOLBOSCORE_VERSION
# known not to work, f.i. many checkers fail
#
#check:
# stage: check
# script:
# - ./ci-check.sh
# allow_failure: true
# EOF