.gitlab-ci.yml 1.14 KB
Newer Older
1
stages:
2
- build_homepage
3 4 5 6
- build_gcc
- test_gcc
- build_gcc_nocheck
- test_gcc_nocheck
7
- build_python
8 9
- build_clang
- test_clang
10 11 12

job_build_homepage:
  stage: build_homepage
Ben Huber's avatar
Ben Huber committed
13
  script: "cp .config.mk.ci.gcc config.mk; make -C doc doc; scp -r doc/html xerusweb:libxerus.org-443"
14 15 16 17
  when: always
  only: 
    - master
  allow_failure: true
18

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

job_test_gcc:
  stage: test_gcc
Ben Huber's avatar
Ben Huber committed
26
  script: "cp ../XerusTest .; ./XerusTest all"
27 28 29

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

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

36 37 38
job_build_python:
  stage: build_python
  script: "g++ --version; cp .config.mk.ci.gcc config.mk; make python"
39
  when: always
40

Ben Huber's avatar
Ben Huber committed
41
job_make_clang:
42
  stage: build_clang
Ben Huber's avatar
Ben Huber committed
43
  script: "clang++ --version; cp .config.mk.ci.clang config.mk; make XerusTest; cp XerusTest ../"
44 45 46 47
  when: always

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