forked from libxerus/xerus
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitlab-ci.yml
49 lines (40 loc) · 1.14 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
stages:
- build_homepage
- build_gcc
- test_gcc
- build_gcc_nocheck
- test_gcc_nocheck
- build_python
- build_clang
- test_clang
job_build_homepage:
stage: build_homepage
script: "cp .config.mk.ci.gcc config.mk; make -C doc doc; scp -r doc/html xerusweb:libxerus.org-443"
when: always
only:
- master
allow_failure: true
job_make_gcc:
stage: build_gcc
script: "g++ --version; cp .config.mk.ci.gcc config.mk; make XerusTest; cp XerusTest ../"
when: always
job_test_gcc:
stage: test_gcc
script: "cp ../XerusTest .; ./XerusTest all"
job_make_gcc_nocheck:
stage: build_gcc_nocheck
script: "g++ --version; cp .config.mk.ci.gcc.nocheck config.mk; make XerusTest; cp XerusTest ../"
job_test_gcc_nocheck:
stage: test_gcc_nocheck
script: "cp ../XerusTest .; ./XerusTest all"
job_build_python:
stage: build_python
script: "g++ --version; cp .config.mk.ci.gcc config.mk; make python"
when: always
job_make_clang:
stage: build_clang
script: "clang++ --version; cp .config.mk.ci.clang config.mk; make XerusTest; cp XerusTest ../"
when: always
job_test_clang:
stage: test_clang
script: "cp ../XerusTest .; ./XerusTest all"