-
Notifications
You must be signed in to change notification settings - Fork 14
/
.gitlab-ci.yml
162 lines (135 loc) · 3.46 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
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# GitLab CI YML file dedicated for LC environment (Quartz)
#
# Spack must be available
# It would be better to install all Boost versions manually,
# as it causes errors often and could exceed the timelimit of the system.
#
# One might want to change the location of builds directory on LC clusters to avoid consuming the home directory space.
# Type the following command on an LC cluster:
# $ ln -s /usr/workspace/lc-username ~/.gitlab-runner
stages:
- install
- build
variables:
GTEST_COLOR: "1"
GIT_DEPTH: 0
install_boost:
stage: install
tags:
- quartz
- shell
script:
- hostname
- srun -N1 -ppdebug spack install boost@1.82.0 boost@1.81.0 boost@1.80.0 boost@1.79.0 boost@1.78.0 boost@1.77.0 boost@1.76.0 boost@1.75.0 boost@1.74.0 boost@1.73.0 boost@1.72.0 boost@1.71.0 boost@1.70.0 boost@1.69.0 boost@1.68.0 boost@1.67.0 boost@1.66.0 boost@1.65.1 boost@1.65.0 boost@1.64.0
- spack clean
.build:
stage: build
tags:
- quartz
- shell
script:
- echo "=== build section ==="
- module load gcc/${GCC_VERSION}
- spack load --first boost@${BOOST_VERSION} arch=$(spack arch)
- export METALL_TEST_DIR="/dev/shm/metall_test-${CI_CONCURRENT_ID}-${CI_PIPELINE_IID}"
- srun -N1 -ppdebug bash ./scripts/CI/build_and_test.sh
build_gcc12.1.1_bst1.82.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.82.0"
build_gcc12.1.1_bst1.81.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.81.0"
build_gcc12.1.1_bst1.80.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.80.0"
build_gcc12.1.1_bst1.79.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.79.0"
build_gcc12.1.1_bst1.78.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.78.0"
build_gcc12.1.1_bst1.77.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.77.0"
build_gcc12.1.1_bst1.76.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.76.0"
build_gcc12.1.1_bst1.75.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.75.0"
build_gcc12.1.1_bst1.74.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.74.0"
build_gcc12.1.1_bst1.73.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.73.0"
build_gcc12.1.1_bst1.72.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.72.0"
build_gcc12.1.1_bst1.71.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.71.0"
build_gcc12.1.1_bst1.70.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.70.0"
build_gcc12.1.1_bst1.69.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.69.0"
build_gcc12.1.1_bst1.68.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.68.0"
build_gcc12.1.1_bst1.67.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.67.0"
build_gcc12.1.1_bst1.66.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.66.0"
build_gcc12.1.1_bst1.65.1:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.65.1"
build_gcc12.1.1_bst1.65.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.65.0"
build_gcc12.1.1_bst1.64.0:
extends: .build
variables:
GCC_VERSION: "12.1.1"
BOOST_VERSION: "1.64.0"