forked from It4innovations/HyperLoom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
61 lines (56 loc) · 975 Bytes
/
.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
stages:
- check
- build
- test
check_flake8:
stage: check
image: it4i/loombuilder:latest
script:
- flake8 python/loom/client
- flake8 python/loom/lore
- flake8 python/loom/wside
- flake8 tests/client
build_job:
stage: build
image: it4i/loombuilder:latest
script:
- mkdir _build
- cd _build
- cmake ..
- make -j 2
- cd ../python
- sh generate.sh
artifacts:
paths:
- _build
- python
expire_in:
6h
test_pytest:
stage: test
image: it4i/loombuilder:latest
script:
- cd tests/client
- py.test -x -v --timeout=20
artifacts:
when: on_failure
paths:
- tests/client/build
expire_in:
1d
test_doc:
stage: test
image: it4i/loombuilder:latest
script:
- cd doc
- make html
artifacts:
paths:
- doc/build/html
expire_in:
1h
test_catch:
stage: test
image: it4i/loombuilder:latest
script:
- _build/tests/cpp/cpp-test