.gitlab-ci.yml 973 Bytes
Newer Older
Swann Perarnau's avatar
Swann Perarnau committed
1 2 3
variables:
  ARGOPKGS : "https://xgitlab.cels.anl.gov/argo/argopkgs/-/archive/continuous-integration/argopkgs-continuous-integration.tar.gz"

4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
stages:
  - build

make:generic:
  stage: build
  script:
    - ./autogen.sh
    - mkdir build
    - ./configure --prefix=`pwd`/build
    - make
    - make install
    - make check
  artifacts:
    when: on_failure
    paths:
      - tests/*.log
20 21 22
  except:
    - /^wip.*/
    - /^WIP.*/
23 24 25 26

make:knl:
  stage: build
  script:
27
    - source /opt/intel/compilers_and_libraries/linux/bin/compilervars.sh intel64
28 29
    - ./autogen.sh
    - mkdir build
30
    - CC=icc CFLAGS="-mkl -xhost" ./configure --prefix=`pwd`/build --enable-benchmarks
31
    - make -j64
32 33 34 35 36 37 38 39 40 41 42
    - make install
    - make check
  artifacts:
    when: on_failure
    paths:
      - tests/*.log
  except:
    - /^wip.*/
    - /^WIP.*/
  tags:
    - knl
Swann Perarnau's avatar
Swann Perarnau committed
43 44 45 46 47 48 49

repoquality:
  stage: build
  script:
    - nix run -f "$ARGOPKGS" repoquality --command repoquality
  tags:
    - integration