.gitlab-ci.yml 560 Bytes
Newer Older
Valentin Reis's avatar
Valentin Reis 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"
Valentin Reis's avatar
Valentin Reis committed
3

Valentin Reis's avatar
Valentin Reis committed
4
stages:
Valentin Reis's avatar
Valentin Reis committed
5
  - main
Valentin Reis's avatar
Valentin Reis committed
6

7
build:
Valentin Reis's avatar
Valentin Reis committed
8
  stage: main
Valentin Reis's avatar
Valentin Reis committed
9
  script:
Valentin Reis's avatar
Valentin Reis committed
10
   - nix-build -I argopkgs=$ARGOPKGS  default.nix -A argotk
11 12 13
  tags:
   - integration

14 15 16 17 18 19 20
##Don't know why this fails:
#pre-commit:
  #stage: main
  #script:
   #- nix-shell -I argopkgs=$ARGOPKGS  default.nix --run "runhaskell ./shake.hs" -A shakeEnv
  #tags:
   #- integration
Valentin Reis's avatar
Valentin Reis committed
21

Valentin Reis's avatar
Valentin Reis committed
22
repoquality:
Valentin Reis's avatar
Valentin Reis committed
23
  stage: main
Valentin Reis's avatar
Valentin Reis committed
24
  script:
25
    - nix run -f "$ARGOPKGS" repoquality --command repoquality
Valentin Reis's avatar
Valentin Reis committed
26 27
  tags:
    - integration