-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.gitlab-ci.yml
81 lines (74 loc) · 1.43 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
79
80
81
before_script:
- apt update && apt install -y cmake python-pip python-dev
- pip install conan
- export CONAN_USER_HOME=$(pwd)
- conan user
stages:
- build
- deploy
build:gcc-4:
stage: build
image: gcc:4
script:
- conan test_package --build=missing
tags:
- docker
artifacts:
paths:
- .conan/data/hello
build:gcc-5:
stage: build
image: gcc:5
script:
- conan test_package --build=missing
tags:
- docker
artifacts:
paths:
- .conan/data/hello
build:gcc-6:
stage: build
image: gcc:6
script:
- conan test_package --build=missing
tags:
- docker
artifacts:
paths:
- .conan/data/hello
build:clang-3.9:
stage: build
image: walberla/buildenv-ubuntu-clang:3.9
script:
- conan test_package --build=missing
tags:
- docker
artifacts:
paths:
- .conan/data/hello
deploy:
stage: deploy
image: python:2.7
only:
- master
tags:
- docker
before_script:
- pip install conan
- export CONAN_USER_HOME=$(pwd)
- conan user
script:
- conan remote add conan-private http://sprintbox.filonovpv.name:9300
- conan user -p $CONAN_PASSWORD -r conan-private demo
- conan upload --confirm -r conan-private "hello/*" --all
dependencies:
- build:gcc-4
- build:gcc-5
- build:gcc-6
- build:clang-3.9
# apple-clang-8.0:
# stage: build
# script:
# - conan test_package --build=missing
# tags:
# - osx