.gitlab-ci.yml 1.95 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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 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 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136
##########################
# Stage 1: Lint packages #
##########################
lint_simgrid:
  stage: lint
  script:
    - guix lint simgrid

lint_litl:
  stage: lint
  script:
    - guix lint litl

lint_fxt:
  stage: lint
  script:
    - guix lint fxt

lint_eztrace:
  stage: lint
  script:
    - guix lint eztrace

lint_starpu-1.1:
  stage: lint
  script:
    - guix lint starpu@1.1

lint_starpu:
  stage: lint
  script:
    - guix lint starpu

lint_starpu-simgrid:
  stage: lint
  script:
    - guix lint starpu-simgrid

lint_starpu-fxt:
  stage: lint
  script:
    - guix lint starpu-fxt

lint_chameleon:
  stage: lint
  script:
    - guix lint chameleon

lint_maphys:
  stage: lint
  script:
    - guix lint maphys

lint_pastix:
  stage: lint
  script:
    - guix lint pastix

###########################
# 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

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