16
16
image: ubuntu/bionic
17
17
packages:
18
18
- gcc
19
- - cabal-install-3.4
19
+ - libgmp-dev
20
20
- ghc-7.8.1
21
21
- ghc-7.8.2
22
22
- ghc-7.8.3
@@ -45,21 +45,27 @@ packages:
45
45
- ghc-8.10.2
46
46
- ghc-8.10.3
47
47
- ghc-8.10.4
48
- - ghc-8.10.5
49
- - ghc-8.10.6
50
- - ghc-8.10.7
51
48
repositories:
52
49
hvr-ghc: http://ppa.launchpad.net/hvr/ghc/ubuntu bionic main ff3aeacef6f88286
53
50
sources:
54
51
- https://example.org
55
52
tasks:
56
53
- all-prepare: |
57
- export PATH=$PATH:/opt/cabal/bin
58
- echo "export PATH=$PATH:/opt/cabal/bin" >> ~/.buildenv
54
+ mkdir -p "$HOME/.ghcup/bin"
55
+ curl -sL https://downloads.haskell.org/ghcup/0.1.17.8/x86_64-linux-ghcup-0.1.17.8 > "$HOME/.ghcup/bin/ghcup"
56
+ chmod a+x "$HOME/.ghcup/bin/ghcup"
57
+ export PATH=$PATH:$HOME/.ghcup/bin
58
+ echo "export PATH=$PATH:$HOME/.ghcup/bin" >> ~/.buildenv
59
+ "$HOME/.ghcup/bin/ghcup" install cabal 3.6
60
+ "$HOME/.ghcup/bin/ghcup" install ghc "ghc-8.10.5"
61
+ "$HOME/.ghcup/bin/ghcup" install ghc "ghc-8.10.6"
62
+ "$HOME/.ghcup/bin/ghcup" install ghc "ghc-8.10.7"
63
+ export PATH=$PATH:/opt/ghc/bin
64
+ echo "export PATH=$PATH:/opt/ghc/bin" >> ~/.buildenv
59
65
cabal update
60
66
- 7_8_1-prepare: |
61
67
cd example.org
62
- cabal configure -w /opt/ghc/bin/ ghc-7.8.1
68
+ cabal configure -w ghc-7.8.1
63
69
- 7_8_1-check: |
64
70
cd example.org
65
71
cabal check
78
84
cabal haddock all
79
85
- 7_8_2-prepare: |
80
86
cd example.org
81
- cabal configure -w /opt/ghc/bin/ ghc-7.8.2
87
+ cabal configure -w ghc-7.8.2
82
88
- 7_8_2-check: |
83
89
cd example.org
84
90
cabal check
@@ -97,7 +103,7 @@ tasks:
97
103
cabal haddock all
98
104
- 7_8_3-prepare: |
99
105
cd example.org
100
- cabal configure -w /opt/ghc/bin/ ghc-7.8.3
106
+ cabal configure -w ghc-7.8.3
101
107
- 7_8_3-check: |
102
108
cd example.org
103
109
cabal check
@@ -116,7 +122,7 @@ tasks:
116
122
cabal haddock all
117
123
- 7_8_4-prepare: |
118
124
cd example.org
119
- cabal configure -w /opt/ghc/bin/ ghc-7.8.4
125
+ cabal configure -w ghc-7.8.4
120
126
- 7_8_4-check: |
121
127
cd example.org
122
128
cabal check
@@ -135,7 +141,7 @@ tasks:
135
141
cabal haddock all
136
142
- 7_10_1-prepare: |
137
143
cd example.org
138
- cabal configure -w /opt/ghc/bin/ ghc-7.10.1
144
+ cabal configure -w ghc-7.10.1
139
145
- 7_10_1-check: |
140
146
cd example.org
141
147
cabal check
@@ -154,7 +160,7 @@ tasks:
154
160
cabal haddock all
155
161
- 7_10_2-prepare: |
156
162
cd example.org
157
- cabal configure -w /opt/ghc/bin/ ghc-7.10.2
163
+ cabal configure -w ghc-7.10.2
158
164
- 7_10_2-check: |
159
165
cd example.org
160
166
cabal check
@@ -173,7 +179,7 @@ tasks:
173
179
cabal haddock all
174
180
- 7_10_3-prepare: |
175
181
cd example.org
176
- cabal configure -w /opt/ghc/bin/ ghc-7.10.3
182
+ cabal configure -w ghc-7.10.3
177
183
- 7_10_3-check: |
178
184
cd example.org
179
185
cabal check
@@ -192,7 +198,7 @@ tasks:
192
198
cabal haddock all
193
199
- 8_0_1-prepare: |
194
200
cd example.org
195
- cabal configure -w /opt/ghc/bin/ ghc-8.0.1
201
+ cabal configure -w ghc-8.0.1
196
202
- 8_0_1-check: |
197
203
cd example.org
198
204
cabal check
@@ -211,7 +217,7 @@ tasks:
211
217
cabal haddock all
212
218
- 8_0_2-prepare: |
213
219
cd example.org
214
- cabal configure -w /opt/ghc/bin/ ghc-8.0.2
220
+ cabal configure -w ghc-8.0.2
215
221
- 8_0_2-check: |
216
222
cd example.org
217
223
cabal check
@@ -230,7 +236,7 @@ tasks:
230
236
cabal haddock all
231
237
- 8_2_1-prepare: |
232
238
cd example.org
233
- cabal configure -w /opt/ghc/bin/ ghc-8.2.1
239
+ cabal configure -w ghc-8.2.1
234
240
- 8_2_1-check: |
235
241
cd example.org
236
242
cabal check
@@ -249,7 +255,7 @@ tasks:
249
255
cabal haddock all
250
256
- 8_2_2-prepare: |
251
257
cd example.org
252
- cabal configure -w /opt/ghc/bin/ ghc-8.2.2
258
+ cabal configure -w ghc-8.2.2
253
259
- 8_2_2-check: |
254
260
cd example.org
255
261
cabal check
@@ -268,7 +274,7 @@ tasks:
268
274
cabal haddock all
269
275
- 8_4_1-prepare: |
270
276
cd example.org
271
- cabal configure -w /opt/ghc/bin/ ghc-8.4.1
277
+ cabal configure -w ghc-8.4.1
272
278
- 8_4_1-check: |
273
279
cd example.org
274
280
cabal check
@@ -287,7 +293,7 @@ tasks:
287
293
cabal haddock all
288
294
- 8_4_2-prepare: |
289
295
cd example.org
290
- cabal configure -w /opt/ghc/bin/ ghc-8.4.2
296
+ cabal configure -w ghc-8.4.2
291
297
- 8_4_2-check: |
292
298
cd example.org
293
299
cabal check
@@ -306,7 +312,7 @@ tasks:
306
312
cabal haddock all
307
313
- 8_4_3-prepare: |
308
314
cd example.org
309
- cabal configure -w /opt/ghc/bin/ ghc-8.4.3
315
+ cabal configure -w ghc-8.4.3
310
316
- 8_4_3-check: |
311
317
cd example.org
312
318
cabal check
@@ -325,7 +331,7 @@ tasks:
325
331
cabal haddock all
326
332
- 8_4_4-prepare: |
327
333
cd example.org
328
- cabal configure -w /opt/ghc/bin/ ghc-8.4.4
334
+ cabal configure -w ghc-8.4.4
329
335
- 8_4_4-check: |
330
336
cd example.org
331
337
cabal check
@@ -344,7 +350,7 @@ tasks:
344
350
cabal haddock all
345
351
- 8_6_1-prepare: |
346
352
cd example.org
347
- cabal configure -w /opt/ghc/bin/ ghc-8.6.1
353
+ cabal configure -w ghc-8.6.1
348
354
- 8_6_1-check: |
349
355
cd example.org
350
356
cabal check
@@ -363,7 +369,7 @@ tasks:
363
369
cabal haddock all
364
370
- 8_6_2-prepare: |
365
371
cd example.org
366
- cabal configure -w /opt/ghc/bin/ ghc-8.6.2
372
+ cabal configure -w ghc-8.6.2
367
373
- 8_6_2-check: |
368
374
cd example.org
369
375
cabal check
@@ -382,7 +388,7 @@ tasks:
382
388
cabal haddock all
383
389
- 8_6_3-prepare: |
384
390
cd example.org
385
- cabal configure -w /opt/ghc/bin/ ghc-8.6.3
391
+ cabal configure -w ghc-8.6.3
386
392
- 8_6_3-check: |
387
393
cd example.org
388
394
cabal check
@@ -401,7 +407,7 @@ tasks:
401
407
cabal haddock all
402
408
- 8_6_4-prepare: |
403
409
cd example.org
404
- cabal configure -w /opt/ghc/bin/ ghc-8.6.4
410
+ cabal configure -w ghc-8.6.4
405
411
- 8_6_4-check: |
406
412
cd example.org
407
413
cabal check
@@ -420,7 +426,7 @@ tasks:
420
426
cabal haddock all
421
427
- 8_6_5-prepare: |
422
428
cd example.org
423
- cabal configure -w /opt/ghc/bin/ ghc-8.6.5
429
+ cabal configure -w ghc-8.6.5
424
430
- 8_6_5-check: |
425
431
cd example.org
426
432
cabal check
@@ -439,7 +445,7 @@ tasks:
439
445
cabal haddock all
440
446
- 8_8_1-prepare: |
441
447
cd example.org
442
- cabal configure -w /opt/ghc/bin/ ghc-8.8.1
448
+ cabal configure -w ghc-8.8.1
443
449
- 8_8_1-check: |
444
450
cd example.org
445
451
cabal check
@@ -458,7 +464,7 @@ tasks:
458
464
cabal haddock all
459
465
- 8_8_2-prepare: |
460
466
cd example.org
461
- cabal configure -w /opt/ghc/bin/ ghc-8.8.2
467
+ cabal configure -w ghc-8.8.2
462
468
- 8_8_2-check: |
463
469
cd example.org
464
470
cabal check
@@ -477,7 +483,7 @@ tasks:
477
483
cabal haddock all
478
484
- 8_8_3-prepare: |
479
485
cd example.org
480
- cabal configure -w /opt/ghc/bin/ ghc-8.8.3
486
+ cabal configure -w ghc-8.8.3
481
487
- 8_8_3-check: |
482
488
cd example.org
483
489
cabal check
@@ -496,7 +502,7 @@ tasks:
496
502
cabal haddock all
497
503
- 8_8_4-prepare: |
498
504
cd example.org
499
- cabal configure -w /opt/ghc/bin/ ghc-8.8.4
505
+ cabal configure -w ghc-8.8.4
500
506
- 8_8_4-check: |
501
507
cd example.org
502
508
cabal check
@@ -515,7 +521,7 @@ tasks:
515
521
cabal haddock all
516
522
- 8_10_1-prepare: |
517
523
cd example.org
518
- cabal configure -w /opt/ghc/bin/ ghc-8.10.1
524
+ cabal configure -w ghc-8.10.1
519
525
- 8_10_1-check: |
520
526
cd example.org
521
527
cabal check
@@ -534,7 +540,7 @@ tasks:
534
540
cabal haddock all
535
541
- 8_10_2-prepare: |
536
542
cd example.org
537
- cabal configure -w /opt/ghc/bin/ ghc-8.10.2
543
+ cabal configure -w ghc-8.10.2
538
544
- 8_10_2-check: |
539
545
cd example.org
540
546
cabal check
@@ -553,7 +559,7 @@ tasks:
553
559
cabal haddock all
554
560
- 8_10_3-prepare: |
555
561
cd example.org
556
- cabal configure -w /opt/ghc/bin/ ghc-8.10.3
562
+ cabal configure -w ghc-8.10.3
557
563
- 8_10_3-check: |
558
564
cd example.org
559
565
cabal check
@@ -572,7 +578,7 @@ tasks:
572
578
cabal haddock all
573
579
- 8_10_4-prepare: |
574
580
cd example.org
575
- cabal configure -w /opt/ghc/bin/ ghc-8.10.4
581
+ cabal configure -w ghc-8.10.4
576
582
- 8_10_4-check: |
577
583
cd example.org
578
584
cabal check
@@ -591,7 +597,7 @@ tasks:
591
597
cabal haddock all
592
598
- 8_10_5-prepare: |
593
599
cd example.org
594
- cabal configure -w /opt/ghc/bin/ ghc-8.10.5
600
+ cabal configure -w ghc-8.10.5
595
601
- 8_10_5-check: |
596
602
cd example.org
597
603
cabal check
@@ -610,7 +616,7 @@ tasks:
610
616
cabal haddock all
611
617
- 8_10_6-prepare: |
612
618
cd example.org
613
- cabal configure -w /opt/ghc/bin/ ghc-8.10.6
619
+ cabal configure -w ghc-8.10.6
614
620
- 8_10_6-check: |
615
621
cd example.org
616
622
cabal check
@@ -629,7 +635,7 @@ tasks:
629
635
cabal haddock all
630
636
- 8_10_7-prepare: |
631
637
cd example.org
632
- cabal configure -w /opt/ghc/bin/ ghc-8.10.7
638
+ cabal configure -w ghc-8.10.7
633
639
- 8_10_7-check: |
634
640
cd example.org
635
641
cabal check
0 commit comments