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

Ben Huber's avatar
Ben Huber committed
11
job_make_gcc:
12
  stage: build_gcc
Ben Huber's avatar
Ben Huber committed
13
  script: "g++ --version; cp .config.mk.ci.gcc config.mk; make XerusTest; cp XerusTest ../"
14 15 16 17
  when: always

job_test_gcc:
  stage: test_gcc
Ben Huber's avatar
Ben Huber committed
18
  script: "cp ../XerusTest .; ./XerusTest all"
19 20 21

job_make_gcc_nocheck:
  stage: build_gcc_nocheck
Ben Huber's avatar
Ben Huber committed
22
  script: "g++ --version; cp .config.mk.ci.gcc.nocheck config.mk; make XerusTest; cp XerusTest ../"
23 24 25

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

28 29 30
job_build_python:
  stage: build_python
  script: "g++ --version; cp .config.mk.ci.gcc config.mk; make python"
31
  when: always
32

Ben Huber's avatar
Ben Huber committed
33
job_make_clang:
34
  stage: build_clang
Ben Huber's avatar
Ben Huber committed
35
  script: "clang++ --version; cp .config.mk.ci.clang config.mk; make XerusTest; cp XerusTest ../"
36 37 38 39
  when: always

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

42 43 44 45 46 47
job_build_homepage:
  stage: build_homepage
  script: "make doc; scp -rv doc/html xerusweb:libxerus.org-443/html"
  when: always
  only: master
  allow_failure: true