.gitlab-ci.yml 1.16 KB
Newer Older
Valentin Reis's avatar
Valentin Reis committed
1
2
3
variables:
  ARGOPKGS : "./default.nix"

Valentin Reis's avatar
Valentin Reis committed
4
before_script:
5
6
7
  - CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX)
  - XDG_CACHE_HOME=$CACHE nix-env -f $ARGOPKGS -iA argonix
  - rm -rf $CACHE
Valentin Reis's avatar
Valentin Reis committed
8

9
stages:
Valentin Reis's avatar
Valentin Reis committed
10
  - build
Valentin Reis's avatar
Valentin Reis committed
11
  - test
12

Valentin Reis's avatar
Valentin Reis committed
13
14
15
16
17
18
.build:
  stage: build
  tags:
    - integration

.test:
Valentin Reis's avatar
Valentin Reis committed
19
  stage: build
Valentin Reis's avatar
Valentin Reis committed
20
21
  tags:
    - integration
Valentin Reis's avatar
Valentin Reis committed
22
23

nrm.build:
Valentin Reis's avatar
Valentin Reis committed
24
  extends: .build
Valentin Reis's avatar
Valentin Reis committed
25
  script:
Valentin Reis's avatar
Valentin Reis committed
26
    - "argonix build nrm --argopkgs $ARGOPKGS $EXTRA"
Valentin Reis's avatar
Valentin Reis committed
27
28

libnrm.build:
Valentin Reis's avatar
Valentin Reis committed
29
  extends: .build
Valentin Reis's avatar
Valentin Reis committed
30
  script:
Valentin Reis's avatar
Valentin Reis committed
31
    - "argonix build libnrm --argopkgs $ARGOPKGS $EXTRA"
Valentin Reis's avatar
Valentin Reis committed
32
33

containers.build:
Valentin Reis's avatar
Valentin Reis committed
34
  extends: .build
Valentin Reis's avatar
Valentin Reis committed
35
  script:
Valentin Reis's avatar
Valentin Reis committed
36
    - "argonix build containers --argopkgs $ARGOPKGS $EXTRA"
Valentin Reis's avatar
Valentin Reis committed
37
38

argotk.build:
Valentin Reis's avatar
Valentin Reis committed
39
  extends: .build
Valentin Reis's avatar
Valentin Reis committed
40
  script:
Valentin Reis's avatar
Valentin Reis committed
41
    - "argonix build argotk --argopkgs $ARGOPKGS $EXTRA"
Valentin Reis's avatar
Valentin Reis committed
42

Valentin Reis's avatar
Valentin Reis committed
43
testHello.build:
Valentin Reis's avatar
Valentin Reis committed
44
  extends: .test
Valentin Reis's avatar
Valentin Reis committed
45
  script:
Valentin Reis's avatar
Valentin Reis committed
46
    - "argonix build testHello --argopkgs $ARGOPKGS $EXTRA"
Valentin Reis's avatar
Valentin Reis committed
47
48

testListen.build:
Valentin Reis's avatar
Valentin Reis committed
49
  extends: .test
Valentin Reis's avatar
Valentin Reis committed
50
  script:
Valentin Reis's avatar
Valentin Reis committed
51
    - "argonix build testListen --argopkgs $ARGOPKGS $EXTRA"
Valentin Reis's avatar
Valentin Reis committed
52
53

testPerfwrapper.build:
Valentin Reis's avatar
Valentin Reis committed
54
  extends: .test
Valentin Reis's avatar
Valentin Reis committed
55
  script:
Valentin Reis's avatar
Valentin Reis committed
56
    - "argonix build testPerfwrapper --argopkgs $ARGOPKGS $EXTRA"
Valentin Reis's avatar
Valentin Reis committed
57
58

testPower.build:
Valentin Reis's avatar
Valentin Reis committed
59
  extends: .test
Valentin Reis's avatar
Valentin Reis committed
60
  script:
Valentin Reis's avatar
Valentin Reis committed
61
    - "argonix build testPower --argopkgs $ARGOPKGS $EXTRA"
Valentin Reis's avatar
Valentin Reis committed
62
63
  tags:
    - knl