.gitlab-ci.yml 1.53 KB
Newer Older
1
# Stage
2
# 0. Guix update: call guix pull to get an up-to-date guix
3 4 5
# 1. Lint: Check packages definition
# 2. Build: Build packages
stages:
6
  - update
7 8 9 10 11
  - lint
  - build

# Init guix module path in current env
before_script:
12
  - export GUIX_PACKAGE_PATH="$PWD"
13

14 15 16 17 18 19 20 21
##########################
# Stage 0: Guix update   #
##########################
update:
  stage: update
  script:
    - guix pull

22 23 24
##########################
# Stage 1: Lint packages #
##########################
25
lint:
26 27
  stage: lint
  script:
28
    - guix lint `guix package -A | grep inria/ | cut -f1`
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52

###########################
# Stage 2: Build packages #
###########################
build_simgrid:
  stage: build
  script:
    - guix build simgrid

build_litl:
  stage: build
  script:
    - guix build litl

build_fxt:
  stage: build
  script:
    - guix build fxt

build_eztrace:
  stage: build
  script:
    - guix build eztrace

Ludovic Courtès's avatar
Ludovic Courtès committed
53 54 55 56 57
build_vite:
  stage: build
  script:
    - guix build vite

58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
build_starpu-1.1:
  stage: build
  script:
    - guix build starpu@1.1

build_starpu:
  stage: build
  script:
    - guix build starpu

build_starpu-simgrid:
  stage: build
  script:
    - guix build starpu-simgrid

build_starpu-fxt:
  stage: build
  script:
    - guix build starpu-fxt

build_chameleon:
  stage: build
  script:
    - guix build chameleon

build_maphys:
  stage: build
  script:
    - guix build maphys

build_pastix:
  stage: build
  script:
    - guix build pastix
92 93 94 95 96

build_nmad:
  stage: build
  script:
    - guix build nmad
97 98 99 100 101

build_pampa:
  stage: build
  script:
    - guix build pampa