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