-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitlab-ci.yml
67 lines (56 loc) · 1.27 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
# This file is a template, and might need editing before it works on your project.
# use the official gcc image, based on debian
# can use verions as well, like gcc:5.2
cache:
untracked: false
key: "$CI_PROJECT_ID"
stages:
- build_examples
- build_utility
- deploy
#test_pypal:
# stage: build
#
# script:
# - apt-get update
# - apt-get install -y swig python-dev
# - export PALABOS_ROOT=`pwd`
# - git clone git@gitlab.com:flowkit/pypal-web.git
# - cd pypal-web/scripted-palabos/src
# - export PYPAL_ROOT=`pwd`
# - make
# Test compilation in the examples directory
examples:
stage: build_examples
only:
- master
script:
- pwd
- cd examples
- make optimize="false"
# Test compilation in the utility directory
utility:
stage: build_utility
only:
- master
script:
- pwd
- cd utility
- make optimize="false"
pages:
stage: deploy
script:
- pwd
- mkdir -p public/docs
- doxygen Doxyfile
artifacts:
paths:
- public
only:
- master
- tags
# run tests using the binary built before
#test:
# stage: test
# script:
# - ./runmytests.sh