.gitlab-ci.yml 904 Bytes
Newer Older
Peter Steinbach's avatar
Peter Steinbach committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
centos_build:
  stage: build
  tags:
    - centos
  script:
    - mkdir build
    - cd build
    - cmake ..
    - make

centos_test:
  stage: test
  tags:
    - centos
  script:
    - mkdir build
    - cd build
    - cmake ..
    - make
    - ctest
21

Peter Steinbach's avatar
Peter Steinbach committed
22 23
mac_build:
  stage: build
Peter Steinbach's avatar
Peter Steinbach committed
24
  tags:
Peter Steinbach's avatar
Peter Steinbach committed
25
    - mac
Peter Steinbach's avatar
Peter Steinbach committed
26 27 28 29 30
  script:
    - mkdir build
    - cd build
    - cmake ..
    - make
Peter Steinbach's avatar
Peter Steinbach committed
31

Peter Steinbach's avatar
Peter Steinbach committed
32 33 34 35 36 37 38 39 40 41 42
mac_test:
  stage: test
  tags:
    - mac
  script:
    - mkdir build
    - cd build
    - cmake ..
    - make
    - ctest

Peter Steinbach's avatar
Peter Steinbach committed
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
ubuntu_build:
  stage: build
  tags:
    - ubuntu
  script:
    - mkdir build
    - cd build
    - cmake ..
    - make

win_build:
  stage: build
  tags:
    - windows
  script:
    - mkdir build
    - cd build
    - cmake ..
    - cmake --build .

Peter Steinbach's avatar
Peter Steinbach committed
63 64 65 66 67 68 69 70 71
win_test:
  stage: test
  tags:
    - windows
  script:
    - mkdir build
    - cd build
    - cmake ..
    - cmake --build . --config Release
Peter Steinbach's avatar
Peter Steinbach committed
72
    - ctest -C Release
Peter Steinbach's avatar
Peter Steinbach committed
73