5
5
6
6
7
7
executors :
8
+ gcc_13 :
9
+ docker :
10
+ - image : gcc:13
8
11
gcc_12 :
9
12
docker :
10
13
- image : gcc:12
@@ -20,6 +23,18 @@ executors:
20
23
gcc_8 :
21
24
docker :
22
25
- image : gcc:8
26
+ # clang18:
27
+ # docker:
28
+ # - image: silkeh/clang:18
29
+ clang17 :
30
+ docker :
31
+ - image : silkeh/clang:17
32
+ clang16 :
33
+ docker :
34
+ - image : silkeh/clang:16
35
+ clang15 :
36
+ docker :
37
+ - image : silkeh/clang:15
23
38
clang14 :
24
39
docker :
25
40
- image : silkeh/clang:14
@@ -40,17 +55,36 @@ executors:
40
55
- image : silkeh/clang:9 # no c++ 11, does not work
41
56
42
57
jobs :
58
+ compile_gcc12 :
59
+ executor : gcc_12
60
+ resource_class : small
61
+ steps :
62
+ - checkout
63
+ - run : apt-get update && apt-get install python3-full python3-dev python3-pip python3-virtualenv git -y
64
+ - run : python3 -m virtualenv venv_test
65
+ - run :
66
+ command : |
67
+ source venv_test/bin/activate
68
+ pip install --upgrade pip setuptools wheel
69
+ pip install -U grid2op
70
+ pip install -U pybind11
71
+ git submodule init
72
+ git submodule update
73
+ make
74
+ CC=gcc python setup.py build
75
+ python -m pip install -U .
43
76
compile_gcc11 :
44
77
executor : gcc_11
45
78
resource_class : small
46
79
steps :
47
80
- checkout
48
- - run : apt-get update && apt-get install python3-pip -y
81
+ - run : apt-get update && apt-get install python3-pip python3-full -y
49
82
- run : python3 -m pip install virtualenv
50
83
- run : python3 -m virtualenv venv_test
51
84
- run :
52
85
command : |
53
86
source venv_test/bin/activate
87
+ pip install --upgrade pip setuptools wheel
54
88
pip install -U grid2op
55
89
pip install -U pybind11
56
90
git submodule init
@@ -63,12 +97,13 @@ jobs:
63
97
resource_class : small
64
98
steps :
65
99
- checkout
66
- - run : apt-get update && apt-get install python3-pip -y
100
+ - run : apt-get update && apt-get install python3-pip python3-full -y
67
101
- run : python3 -m pip install virtualenv
68
102
- run : python3 -m virtualenv venv_test
69
103
- run :
70
104
command : |
71
105
source venv_test/bin/activate
106
+ pip install --upgrade pip setuptools wheel
72
107
pip install -U grid2op
73
108
pip install -U pybind11
74
109
git submodule init
@@ -81,12 +116,13 @@ jobs:
81
116
resource_class : small
82
117
steps :
83
118
- checkout
84
- - run : apt-get update && apt-get install python3-pip -y
119
+ - run : apt-get update && apt-get install python3-pip python3-full -y
85
120
- run : python3 -m pip install virtualenv
86
121
- run : python3 -m virtualenv venv_test
87
122
- run :
88
123
command : |
89
124
source venv_test/bin/activate
125
+ pip install --upgrade pip setuptools wheel
90
126
pip install -U grid2op
91
127
pip install -U pybind11
92
128
git submodule init
@@ -105,25 +141,27 @@ jobs:
105
141
- run :
106
142
command : |
107
143
source venv_test/bin/activate
144
+ pip install --upgrade pip setuptools wheel
108
145
pip install -U grid2op
109
146
pip install -U pybind11
110
147
git submodule init
111
148
git submodule update
112
149
make
113
150
CC=gcc python setup.py build
114
151
python -m pip install -U .
115
- compile_gcc12 :
116
- executor : gcc_12
152
+ compile_gcc13 :
153
+ executor : gcc_13
117
154
resource_class : small
118
155
steps :
119
156
- checkout
120
- - run : apt-get update && apt-get install python3-pip python3-virtualenv -y
157
+ - run : apt-get update && apt-get install python3-full python3-dev python3- pip python3-virtualenv git -y
121
158
# - run: python3 -m pip install virtualenv
122
159
- run : python3 -m virtualenv venv_test
123
160
- run :
124
161
name : " Install grid2op from source"
125
162
command : |
126
163
source venv_test/bin/activate
164
+ pip install --upgrade pip setuptools wheel
127
165
git clone https://github.com/rte-france/grid2op.git _grid2op
128
166
pip install -e _grid2op
129
167
- run :
@@ -147,12 +185,13 @@ jobs:
147
185
resource_class : small
148
186
steps :
149
187
- checkout
150
- - run : apt-get update && apt-get install python3-pip -y
188
+ - run : apt-get update && apt-get install python3-pip python3-full git -y
151
189
- run : python3 -m pip install virtualenv
152
190
- run : python3 -m virtualenv venv_test
153
191
- run :
154
192
command : |
155
193
source venv_test/bin/activate
194
+ pip install --upgrade pip setuptools wheel
156
195
pip install -U pybind11
157
196
git submodule init
158
197
git submodule update
@@ -164,7 +203,7 @@ jobs:
164
203
resource_class : small
165
204
steps :
166
205
- checkout
167
- - run : apt-get update && apt-get install python3-pip git -y
206
+ - run : apt-get update && apt-get install python3-pip python3-full git -y
168
207
- run :
169
208
command : |
170
209
git submodule init
@@ -175,6 +214,7 @@ jobs:
175
214
- run :
176
215
command : |
177
216
source venv_test/bin/activate
217
+ pip install --upgrade pip setuptools wheel
178
218
pip install -U pybind11
179
219
CC=clang python setup.py build
180
220
python -m pip install .
@@ -183,12 +223,13 @@ jobs:
183
223
resource_class : small
184
224
steps :
185
225
- checkout
186
- - run : apt-get update && apt-get install python3-pip git -y
226
+ - run : apt-get update && apt-get install python3-pip python3-full git -y
187
227
- run : python3 -m pip install virtualenv
188
228
- run : python3 -m virtualenv venv_test
189
229
- run :
190
230
command : |
191
231
source venv_test/bin/activate
232
+ pip install --upgrade pip setuptools wheel
192
233
pip install -U grid2op
193
234
pip install -U pybind11
194
235
git submodule init
@@ -201,12 +242,13 @@ jobs:
201
242
resource_class : small
202
243
steps :
203
244
- checkout
204
- - run : apt-get update && apt-get install python3-pip git -y
245
+ - run : apt-get update && apt-get install python3-pip python3-full git -y
205
246
- run : python3 -m pip install virtualenv
206
247
- run : python3 -m virtualenv venv_test
207
248
- run :
208
249
command : |
209
250
source venv_test/bin/activate
251
+ pip install --upgrade pip setuptools wheel
210
252
pip install -U grid2op
211
253
pip install -U pybind11
212
254
git submodule init
@@ -219,12 +261,13 @@ jobs:
219
261
resource_class : small
220
262
steps :
221
263
- checkout
222
- - run : apt-get update && apt-get install python3-pip git -y
264
+ - run : apt-get update && apt-get install python3-pip python3-full git -y
223
265
- run : python3 -m pip install virtualenv
224
266
- run : python3 -m virtualenv venv_test
225
267
- run :
226
268
command : |
227
269
source venv_test/bin/activate
270
+ pip install --upgrade pip setuptools wheel
228
271
pip install -U grid2op
229
272
pip install -U pybind11
230
273
git submodule init
@@ -237,13 +280,69 @@ jobs:
237
280
resource_class : small
238
281
steps :
239
282
- checkout
240
- - run : apt-get update && apt-get install python3-pip git -y
283
+ - run : apt-get update && apt-get install python3-pip python3-full git -y
284
+ - run : python3 -m pip install virtualenv
285
+ - run : python3 -m virtualenv venv_test
286
+ - run :
287
+ command : |
288
+ source venv_test/bin/activate
289
+ pip install --upgrade pip setuptools wheel
290
+ pip install -U grid2op
291
+ pip install -U pybind11
292
+ git submodule init
293
+ git submodule update
294
+ make
295
+ CC=clang python setup.py build
296
+ CC=clang python -m pip install -U .
297
+ compile_clang15 :
298
+ executor : clang15
299
+ resource_class : small
300
+ steps :
301
+ - checkout
302
+ - run : apt-get update && apt-get install python3-pip python3-full git -y
241
303
- run : python3 -m pip install virtualenv
242
304
- run : python3 -m virtualenv venv_test
305
+ - run :
306
+ command : |
307
+ source venv_test/bin/activate
308
+ pip install --upgrade pip setuptools wheel
309
+ pip install -U grid2op
310
+ pip install -U pybind11
311
+ git submodule init
312
+ git submodule update
313
+ make
314
+ CC=clang python setup.py build
315
+ CC=clang python -m pip install -U .
316
+ compile_clang16 :
317
+ executor : clang16
318
+ resource_class : small
319
+ steps :
320
+ - checkout
321
+ - run : apt-get update && apt-get install python3-full python3-dev python3-pip python3-virtualenv git -y
322
+ - run : python3 -m virtualenv venv_test
323
+ - run :
324
+ command : |
325
+ source venv_test/bin/activate
326
+ pip install --upgrade pip setuptools wheel
327
+ pip install -U grid2op
328
+ pip install -U pybind11
329
+ git submodule init
330
+ git submodule update
331
+ make
332
+ CC=clang python setup.py build
333
+ CC=clang python -m pip install -U .
334
+ compile_clang17 :
335
+ executor : clang17
336
+ resource_class : small
337
+ steps :
338
+ - checkout
339
+ - run : apt-get update && apt-get install python3-full python3-dev python3-pip python3-virtualenv git -y
340
+ - run : python3 -m virtualenv venv_test
243
341
- run :
244
342
name : " Install grid2op from source"
245
343
command : |
246
344
source venv_test/bin/activate
345
+ pip install --upgrade pip setuptools wheel
247
346
git clone https://github.com/rte-france/grid2op.git _grid2op
248
347
pip install -e _grid2op
249
348
- run :
@@ -301,17 +400,20 @@ jobs:
301
400
cd lightsim2grid\tests
302
401
python -m unittest discover -v
303
402
304
-
305
403
workflows :
306
404
version : 2.1
307
405
compile :
308
406
jobs :
309
407
- compile_gcc8
310
- - compile_gcc10
311
- - compile_gcc11
408
+ # - compile_gcc10
409
+ # - compile_gcc11
312
410
- compile_gcc12
411
+ - compile_gcc13
313
412
# - compile_clang10 # does not work I don't know why, too lazy to check
314
413
- compile_clang11
315
- - compile_clang13
316
- - compile_clang14
414
+ # - compile_clang13
415
+ # - compile_clang14
416
+ # - compile_clang15
417
+ - compile_clang16
418
+ - compile_clang17
317
419
- compile_windows
0 commit comments