.gitlab-ci.yml 1.31 KB
Newer Older
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
.VS_64_GENERIC_TEMPLATE: &VS_GENERIC_x64
  variables:
    ARCHITECTURE:   "x64"
  script: "CI\\Windows.bat"

.VS_32_GENERIC_TEMPLATE: &VS_GENERIC_x32
  variables:
    ARCHITECTURE:   "x32"
  script: "CI\\Windows.bat"
  
.VS2013_COMMON_TEMPLATE: &VS2013_COMMON
  variables:
    BUILD_PLATFORM: "VS2013"
  tags:
    - VS2013

.VS2015_COMMON_TEMPLATE: &VS2015_COMMON
  variables:
    BUILD_PLATFORM: "VS2015"
  tags:
    - VS2015

.VS2017_COMMON_TEMPLATE: &VS2017_COMMON
  variables:
    BUILD_PLATFORM: "VS2017"
  tags:
    - VS2017

29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
gcc-c++11:
  script: "CI/ci-linux.sh gcc C++11"
  tags:
    - Linux

clang-c++11:
  script: "CI/ci-linux.sh clang C++11"
  tags:
    - Linux

macos-c++11:
  script: "CI/ci-mac.sh C++11"
  tags:
    - Apple

Jan Möbius's avatar
Jan Möbius committed
44 45 46 47 48 49 50 51
cppcheck:
  script: "CI/ci-cppcheck.sh"
  tags:
    - Linux
  artifacts:
    paths:
      - cppcheck.log

52 53 54 55 56 57 58 59
VS2017-64-bit:
  <<: *VS_GENERIC_x64
  <<: *VS2017_COMMON

VS2017-32-bit:
  <<: *VS_GENERIC_x32
  <<: *VS2017_COMMON
  
Jan Möbius's avatar
Jan Möbius committed
60
VS2015-64-bit:
61 62
  <<: *VS_GENERIC_x64
  <<: *VS2015_COMMON
Jan Möbius's avatar
Jan Möbius committed
63 64

VS2015-32-bit:
65 66
  <<: *VS_GENERIC_x32
  <<: *VS2015_COMMON
Jan Möbius's avatar
Jan Möbius committed
67 68

VS2013-64-bit:
69 70
  <<: *VS_GENERIC_x64
  <<: *VS2013_COMMON
Jan Möbius's avatar
Jan Möbius committed
71 72

VS2013-32-bit:
73 74
  <<: *VS_GENERIC_x32
  <<: *VS2013_COMMON
75 76 77 78 79

doc:
  script: "CI/ci-doc.sh"
  tags:
    - Linux
Jan Möbius's avatar
Jan Möbius committed
80 81 82
  artifacts:
      paths:
        - build-release/Build/share/OpenVolumeMesh/Doc/html
83