.gitlab-ci.yml 2.2 KB
Newer Older
1
2
variables:
  GIT_SUBMODULE_STRATEGY: normal
LEFEBVREJP email's avatar
LEFEBVREJP email committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
stages:
  - test
  - analysis

mac_llvm_testing:
  tags:
    - mac
  script:
    - which git
    - git --version
    - module load cmake qt/5.9.1
    - which cmake
    - mkdir build
    - cd build
    - export rsm_ENABLE_Fortran=OFF
    - cmake -DBUILDNAME=$(uname -s)-LLVM-Debug-${CI_BUILD_REF_NAME}
LEFEBVREJP email's avatar
LEFEBVREJP email committed
19
        -DOPENSSL_ROOT_DIR=/opt/openssl/1.1.1d/
20
        -DLibSSH_DIR=/opt/libssh/0.9.3/lib/cmake/libssh/
LEFEBVREJP email's avatar
LEFEBVREJP email committed
21
22
23
24
        -DCMAKE_BUILD_TYPE=DEBUG
        -Drsm_ENABLE_TESTS=ON
        -Drsm_ENABLE_rsmcore=ON
        -Drsm_ENABLE_rsmwidgets=OFF ..
LEFEBVREJP email's avatar
LEFEBVREJP email committed
25
26
27
28
29
30
31
32
33
34
35
36
37
38
    - ctest -D ExperimentalStart -D ExperimentalBuild -D ExperimentalTest -D ExperimentalSubmit

linux_gcc_testing:
  tags:
    - linux
  script:
    - which git
    - git --version
    - mkdir build
    - cd build
    - module load cmake qt/5.9.0
    - which cmake
    - module load valgrind
    - cmake -DBUILDNAME=$(uname -s)-GCC-4.8.5-Release-${CI_BUILD_REF_NAME}
LEFEBVREJP email's avatar
LEFEBVREJP email committed
39
40
        -DOPENSSL_ROOT_DIR=/opt/vendors/openssl/1.1.1d/
        -DLibSSH_DIR=/opt/vendors/libssh/0.9.3/lib64/cmake/libssh/
LEFEBVREJP email's avatar
LEFEBVREJP email committed
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
        -DCMAKE_BUILD_TYPE=Release
        -Drsm_ENABLE_TESTS=ON
        -Drsm_ENABLE_rsmcore=ON
        -Drsm_ENABLE_rsmwidgets=OFF ..
    - ctest -D ExperimentalStart -D ExperimentalBuild -D ExperimentalTest -D ExperimentalSubmit

linux_analysis:
  stage: analysis
  tags:
    - linux
  script:
    - which git
    - git --version
    - mkdir build
    - cd build
56
    - module load cmake qt/5.9.0
LEFEBVREJP email's avatar
LEFEBVREJP email committed
57
58
59
60
61
    - which cmake
    - module load valgrind
    - cmake -D COVERAGE_EXTRA_FLAGS="-s ${CI_PROJECT_DIR}/googletest -d"
        -D MEMCHECK_COMMAND=$(which valgrind)
        -DBUILDNAME=$(uname -s)-GCC-4.8.5-Debug-${CI_BUILD_REF_NAME}
LEFEBVREJP email's avatar
LEFEBVREJP email committed
62
63
        -DOPENSSL_ROOT_DIR=/opt/vendors/openssl/1.1.1d/
        -DLibSSH_DIR=/opt/vendors/libssh/0.9.3/lib64/cmake/libssh/
LEFEBVREJP email's avatar
LEFEBVREJP email committed
64
65
66
        -DCMAKE_BUILD_TYPE=DEBUG
        -Drsm_ENABLE_COVERAGE_TESTING=ON
        -Drsm_ENABLE_TESTS=ON
67
        -Drsm_ENABLE_rsmcore=ON
LEFEBVREJP email's avatar
LEFEBVREJP email committed
68
69
70
71
72
73
74
75
        -Drsm_ENABLE_rsmwidgets=OFF ..
    - ctest -D ExperimentalStart -D ExperimentalBuild -D ExperimentalTest -D ExperimentalMemCheck -D ExperimentalCoverage -D ExperimentalSubmit
  allow_failure: true

windows_msvc_testing:
  tags:
    - nsmwin10
  script:
76
    - ci\windows_testing.bat