.gitlab-ci.yml 1.61 KB
Newer Older
1
stages:
2
- build_homepage
3 4 5 6
- build_gcc
- test_gcc
- build_gcc_nocheck
- test_gcc_nocheck
7 8 9 10
- build_python2
- build_python3
- test_python2
- test_python3
11 12
- build_clang
- test_clang
13 14 15

job_build_homepage:
  stage: build_homepage
16
  script: "cp .config.mk.ci.gcc config.mk; make -C doc doc && scp -r doc/html xerusweb:libxerus.org-443"
17 18 19 20
  when: always
  only: 
    - master
  allow_failure: true
21

Ben Huber's avatar
Ben Huber committed
22
job_make_gcc:
23
  stage: build_gcc
Ben Huber's avatar
Ben Huber committed
24
  script: "g++ --version; cp .config.mk.ci.gcc config.mk; make XerusTest; cp XerusTest ../"
25 26 27 28
  when: always

job_test_gcc:
  stage: test_gcc
Ben Huber's avatar
Ben Huber committed
29
  script: "cp ../XerusTest .; ./XerusTest all"
30 31 32

job_make_gcc_nocheck:
  stage: build_gcc_nocheck
Ben Huber's avatar
Ben Huber committed
33
  script: "g++ --version; cp .config.mk.ci.gcc.nocheck config.mk; make XerusTest; cp XerusTest ../"
34 35 36

job_test_gcc_nocheck:
  stage: test_gcc_nocheck
Ben Huber's avatar
Ben Huber committed
37
  script: "cp ../XerusTest .; ./XerusTest all"
Ben Huber's avatar
Ben Huber committed
38

Michael Goette's avatar
Michael Goette committed
39
job_build_python2:
40
  stage: build_python2
41
  script: "g++ --version; cp .config.mk.ci.gcc.python config.mk; make python2"
42
  when: always
43

Michael Goette's avatar
Michael Goette committed
44
job_build_python3:
45
  stage: build_python3
46
  script: "g++ --version; cp .config.mk.ci.gcc.python config.mk; make python3"
Michael Goette's avatar
Michael Goette committed
47 48
  when: always

Michael Goette's avatar
Michael Goette committed
49 50 51
job_test_python2:
  stage: test_python2
  script: "g++ --version; cp .config.mk.ci.gcc.python config.mk; make test_python2"
52 53
  when: always

54 55 56 57
#job_test_python3:
#  stage: test_python3
#  script: "g++ --version; cp .config.mk.ci.gcc.python config.mk; make test_python3"
#  when: always
58

Ben Huber's avatar
Ben Huber committed
59
job_make_clang:
60
  stage: build_clang
Ben Huber's avatar
Ben Huber committed
61
  script: "clang++ --version; cp .config.mk.ci.clang config.mk; make XerusTest; cp XerusTest ../"
62 63 64 65
  when: always

job_test_clang:
  stage: test_clang
Ben Huber's avatar
Ben Huber committed
66
  script: "cp ../XerusTest .; ./XerusTest all"
67