.gitlab-ci.yml 1.03 KB
Newer Older
Swann Perarnau's avatar
Swann Perarnau committed
1
variables:
Valentin Reis's avatar
Valentin Reis committed
2
  ARGOPKGS : "https://xgitlab.cels.anl.gov/argo/argopkgs/-/archive/master/argopkgs-master.tar.gz"
Swann Perarnau's avatar
Swann Perarnau committed
3

4
stages:
5
  - style
6 7 8 9 10 11 12 13 14 15
  - build

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

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

repoquality:
46
  stage: style
Swann Perarnau's avatar
Swann Perarnau committed
47 48 49 50
  script:
    - nix run -f "$ARGOPKGS" repoquality --command repoquality
  tags:
    - integration
51 52 53 54

checkpatch:
  stage: style
  script:
55
    - nix run -f "$ARGOPKGS" checkpatch --command checkpatch.pl