.gitlab-ci.yml 577 Bytes
Newer Older
niklas.baumgarten's avatar
niklas.baumgarten committed
1
stages:
niklas.baumgarten's avatar
niklas.baumgarten committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15
  - build
  - test

build-mpp:
  stage: build

  variables:
    GIT_SUBMODULE_STRATEGY: recursive

  before_script:
    - module add foss
    - module add Anaconda3

  script:
niklas.baumgarten's avatar
niklas.baumgarten committed
16 17 18 19 20
    - tar xjf sprng5.tar.bz2
    - cd sprng5
    - ./configure --with-mpi=yes --with-fortran=no
    - make -j
    - cd ..
niklas.baumgarten's avatar
niklas.baumgarten committed
21 22 23 24 25 26 27
    - mkdir build
    - cd build
    - cmake ..
    - make -j

  artifacts:
    paths:
niklas.baumgarten's avatar
niklas.baumgarten committed
28
#      - sprng5
niklas.baumgarten's avatar
niklas.baumgarten committed
29 30 31 32 33 34 35 36 37 38 39 40 41 42
      - build

integration-test:
  stage: test

  before_script:
    - module add foss
    - module add Anaconda3

  script:
    - python python/test_experiments.py