.gitlab-ci.yml 1.54 KB
Newer Older
1 2
image: hpclib/hiepacs

3
starpu:
4
  script:
5 6 7
    - source .gitlab-ci-env.sh
    - git submodule update --init --recursive
    - mkdir -p build
8
    - cd build
PRUVOST Florent's avatar
PRUVOST Florent committed
9
    - cmake ..
10
    - make -j2
PRUVOST Florent's avatar
PRUVOST Florent committed
11
    - ctest -R test_shm_s
PRUVOST Florent's avatar
PRUVOST Florent committed
12 13
    - cmake .. -DCHAMELEON_USE_MPI=ON -DCMAKE_INSTALL_PREFIX=$PWD/install
    - make -j2
14 15 16 17
    - ctest -V -R mpi_s

starpu-simgrid:
  script:
18 19 20
    - source .gitlab-ci-env.sh simu
    - git submodule update --init --recursive
    - mkdir -p build
21
    - cd build
22
    - cmake .. -DCHAMELEON_SIMULATION=ON -DCHAMELEON_USE_CUDA=ON -DCHAMELEON_USE_MPI=OFF
23 24
    - make -j2
    - ctest -V
25 26 27

quark:
  script:
28 29 30
    - source .gitlab-ci-env.sh
    - git submodule update --init --recursive
    - mkdir -p build
31
    - cd build
32
    - cmake .. -DCHAMELEON_SCHED_QUARK=ON
33
    - make -j2
34
    - ctest -V -R test_shm_s
35 36

doc:
PRUVOST Florent's avatar
PRUVOST Florent committed
37 38 39 40 41 42
  artifacts:
    name: chameleon_doc
    expire_in: 1 week
    paths:
      - build/doc/doxygen
      - build/doc/orgmode
43 44 45 46 47
  script:
    - source .gitlab-ci-env.sh
    - git submodule update --init --recursive
    - mkdir -p build
    - cd build
PRUVOST Florent's avatar
PRUVOST Florent committed
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
    - cmake .. -DCHAMELEON_ENABLE_DOC=ON -DCHAMELEON_ENABLE_EXAMPLE=OFF -DCHAMELEON_ENABLE_TESTING=OFF -DCHAMELEON_ENABLE_TIMING=OFF
    - make doc

analysis:
  artifacts:
    name: chameleon_analysis
    expire_in: 1 week
    paths:
      - chameleon-build.log
      - coverage/
      - chameleon-coverage.xml
      - chameleon-cppcheck.xml
      - chameleon-rats.xml
      - sonar.log
  script:
    - source .gitlab-ci-env.sh
    - git submodule update --init --recursive
PRUVOST Florent's avatar
PRUVOST Florent committed
65
    - source ./tools/analysis.sh
66 67
  only:
    - master