-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
86 lines (74 loc) · 2.1 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
# Stages:
# 0. guix pull
# 1. guix build
stages:
- update
- build
##########################
# Stage 0: Guix update #
##########################
update:
stage: update
script:
- echo "(cons (channel (name 'guix-hpc) (url \"https://gitlab.inria.fr/guix-hpc/guix-hpc.git\")) %default-channels)" > hpc-channels.scm
- mkdir -p .channels
- guix pull -C hpc-channels.scm -p .channels/guix-hpc
# Share the .channels/ directory with subsequent jobs.
# Note: Call it '.channels' to ensure 'guix build' below won't attempt
# to traverse it.
artifacts:
paths:
- .channels/
###########################
# Stage 1: Build packages #
###########################
starpu_cuda:
stage: build
script:
- .channels/guix-hpc/bin/guix describe
- .channels/guix-hpc/bin/guix build -L . starpu-cuda
chameleon_cuda:
stage: build
script:
- .channels/guix-hpc/bin/guix describe
- .channels/guix-hpc/bin/guix build -L . chameleon-cuda
chameleon_mkl_mt:
stage: build
script:
- .channels/guix-hpc/bin/guix describe
- .channels/guix-hpc/bin/guix build -L . chameleon-mkl-mt
chameleon_cuda_mkl_mt:
stage: build
script:
- .channels/guix-hpc/bin/guix describe
- .channels/guix-hpc/bin/guix build -L . chameleon-cuda-mkl-mt
mumps_mkl:
stage: build
script:
- .channels/guix-hpc/bin/guix describe
- .channels/guix-hpc/bin/guix build -L . mumps-mkl
mumps_mkl_metis:
stage: build
script:
- .channels/guix-hpc/bin/guix describe
- .channels/guix-hpc/bin/guix build -L . mumps-mkl-metis
mumps_mkl_openmpi:
stage: build
script:
- .channels/guix-hpc/bin/guix describe
- .channels/guix-hpc/bin/guix build -L . mumps-mkl-openmpi
mumps_mkl_metis_openmpi:
stage: build
script:
- .channels/guix-hpc/bin/guix describe
- .channels/guix-hpc/bin/guix build -L . mumps-mkl-metis-openmpi
pastix_cuda:
stage: build
script:
- .channels/guix-hpc/bin/guix describe
- .channels/guix-hpc/bin/guix build -L . pastix-cuda
pastix_5_mkl:
stage: build
script:
- .channels/guix-hpc/bin/guix describe
- .channels/guix-hpc/bin/guix build -L . pastix-5-mkl