-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
59 lines (54 loc) · 1.24 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
stages:
- build
- test
- deploy
build:gcc-4.9:
stage: build
image: bernddoser/docker-devel-cpp:ubuntu-16.04-gcc-4.9-tools-1
script:
- mkdir build
- cd build
- cmake -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DGTEST_ROOT=/opt/googletest-1.8.0 ..
- make -j
build:gcc-6:
stage: build
image: bernddoser/docker-devel-cpp:ubuntu-16.04-gcc-6-tools-1
script:
- mkdir build
- cd build
- cmake -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DGTEST_ROOT=/opt/googletest-1.8.0 ..
- make -j
#build:clang-3.9:
# stage: build
# image: bernddoser/docker-devel-cpp:ubuntu-16.04-clang-3.9-tools-1
# script:
# - mkdir build
# - cd build
# - cmake -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DGTEST_ROOT=/opt/googletest-1.8.0 ..
# - make -j
test:gcc-4.9:
stage: test
image: bernddoser/docker-devel-cpp:ubuntu-16.04-gcc-4.9-tools-1
dependencies:
- build:gcc-4.9
script:
- cd build
- make test
cache:
paths:
- build
artifacts:
paths:
- build
deploy:gcc-4.9:
stage: deploy
image: bernddoser/docker-devel-cpp:ubuntu-16.04-gcc-4.9-tools-1
dependencies:
- test:gcc-4.9
script:
- cd build
- make package
artifacts:
paths:
- BlasBooster-*-Linux.tar.gz
when: manual