.gitlab-ci.yml 2.31 KB
Newer Older
LEFEBVREJP email's avatar
LEFEBVREJP email committed
1
2
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
    - git submodule init
    - git submodule update
    - 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
39
40
    - ctest -D ExperimentalStart -D ExperimentalBuild -D ExperimentalTest -D ExperimentalSubmit

linux_gcc_testing:
  tags:
    - linux
  script:
    - which git
    - git --version
    - git submodule init
    - git submodule update
    - 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
41
42
        -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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
        -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
    - git submodule init
    - git submodule update
    - mkdir build
    - cd build
60
    - module load cmake qt/5.9.0
LEFEBVREJP email's avatar
LEFEBVREJP email committed
61
62
63
64
65
    - 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
66
67
        -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
68
69
70
        -DCMAKE_BUILD_TYPE=DEBUG
        -Drsm_ENABLE_COVERAGE_TESTING=ON
        -Drsm_ENABLE_TESTS=ON
71
        -Drsm_ENABLE_rsmcore=ON
LEFEBVREJP email's avatar
LEFEBVREJP email committed
72
73
74
75
76
77
78
79
        -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:
80
    - ci\windows_testing.bat