1616image: ubuntu/bionic
1717packages:
1818 - gcc
19- - cabal-install-3.4
2019 - ghc-7.8.1
2120 - ghc-7.8.2
2221 - ghc-7.8.3
@@ -45,21 +44,27 @@ packages:
4544 - ghc-8.10.2
4645 - ghc-8.10.3
4746 - ghc-8.10.4
48- - ghc-8.10.5
49- - ghc-8.10.6
50- - ghc-8.10.7
5147repositories:
5248 hvr-ghc: http://ppa.launchpad.net/hvr/ghc/ubuntu bionic main ff3aeacef6f88286
5349sources:
5450 - https://example.org
5551tasks:
5652 - 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
5964 cabal update
6065 - 7_8_1-prepare: |
6166 cd example.org
62- cabal configure -w /opt/ghc/bin/ ghc-7.8.1
67+ cabal configure -w ghc-7.8.1
6368 - 7_8_1-check: |
6469 cd example.org
6570 cabal check
7883 cabal haddock all
7984 - 7_8_2-prepare: |
8085 cd example.org
81- cabal configure -w /opt/ghc/bin/ ghc-7.8.2
86+ cabal configure -w ghc-7.8.2
8287 - 7_8_2-check: |
8388 cd example.org
8489 cabal check
@@ -97,7 +102,7 @@ tasks:
97102 cabal haddock all
98103 - 7_8_3-prepare: |
99104 cd example.org
100- cabal configure -w /opt/ghc/bin/ ghc-7.8.3
105+ cabal configure -w ghc-7.8.3
101106 - 7_8_3-check: |
102107 cd example.org
103108 cabal check
@@ -116,7 +121,7 @@ tasks:
116121 cabal haddock all
117122 - 7_8_4-prepare: |
118123 cd example.org
119- cabal configure -w /opt/ghc/bin/ ghc-7.8.4
124+ cabal configure -w ghc-7.8.4
120125 - 7_8_4-check: |
121126 cd example.org
122127 cabal check
@@ -135,7 +140,7 @@ tasks:
135140 cabal haddock all
136141 - 7_10_1-prepare: |
137142 cd example.org
138- cabal configure -w /opt/ghc/bin/ ghc-7.10.1
143+ cabal configure -w ghc-7.10.1
139144 - 7_10_1-check: |
140145 cd example.org
141146 cabal check
@@ -154,7 +159,7 @@ tasks:
154159 cabal haddock all
155160 - 7_10_2-prepare: |
156161 cd example.org
157- cabal configure -w /opt/ghc/bin/ ghc-7.10.2
162+ cabal configure -w ghc-7.10.2
158163 - 7_10_2-check: |
159164 cd example.org
160165 cabal check
@@ -173,7 +178,7 @@ tasks:
173178 cabal haddock all
174179 - 7_10_3-prepare: |
175180 cd example.org
176- cabal configure -w /opt/ghc/bin/ ghc-7.10.3
181+ cabal configure -w ghc-7.10.3
177182 - 7_10_3-check: |
178183 cd example.org
179184 cabal check
@@ -192,7 +197,7 @@ tasks:
192197 cabal haddock all
193198 - 8_0_1-prepare: |
194199 cd example.org
195- cabal configure -w /opt/ghc/bin/ ghc-8.0.1
200+ cabal configure -w ghc-8.0.1
196201 - 8_0_1-check: |
197202 cd example.org
198203 cabal check
@@ -211,7 +216,7 @@ tasks:
211216 cabal haddock all
212217 - 8_0_2-prepare: |
213218 cd example.org
214- cabal configure -w /opt/ghc/bin/ ghc-8.0.2
219+ cabal configure -w ghc-8.0.2
215220 - 8_0_2-check: |
216221 cd example.org
217222 cabal check
@@ -230,7 +235,7 @@ tasks:
230235 cabal haddock all
231236 - 8_2_1-prepare: |
232237 cd example.org
233- cabal configure -w /opt/ghc/bin/ ghc-8.2.1
238+ cabal configure -w ghc-8.2.1
234239 - 8_2_1-check: |
235240 cd example.org
236241 cabal check
@@ -249,7 +254,7 @@ tasks:
249254 cabal haddock all
250255 - 8_2_2-prepare: |
251256 cd example.org
252- cabal configure -w /opt/ghc/bin/ ghc-8.2.2
257+ cabal configure -w ghc-8.2.2
253258 - 8_2_2-check: |
254259 cd example.org
255260 cabal check
@@ -268,7 +273,7 @@ tasks:
268273 cabal haddock all
269274 - 8_4_1-prepare: |
270275 cd example.org
271- cabal configure -w /opt/ghc/bin/ ghc-8.4.1
276+ cabal configure -w ghc-8.4.1
272277 - 8_4_1-check: |
273278 cd example.org
274279 cabal check
@@ -287,7 +292,7 @@ tasks:
287292 cabal haddock all
288293 - 8_4_2-prepare: |
289294 cd example.org
290- cabal configure -w /opt/ghc/bin/ ghc-8.4.2
295+ cabal configure -w ghc-8.4.2
291296 - 8_4_2-check: |
292297 cd example.org
293298 cabal check
@@ -306,7 +311,7 @@ tasks:
306311 cabal haddock all
307312 - 8_4_3-prepare: |
308313 cd example.org
309- cabal configure -w /opt/ghc/bin/ ghc-8.4.3
314+ cabal configure -w ghc-8.4.3
310315 - 8_4_3-check: |
311316 cd example.org
312317 cabal check
@@ -325,7 +330,7 @@ tasks:
325330 cabal haddock all
326331 - 8_4_4-prepare: |
327332 cd example.org
328- cabal configure -w /opt/ghc/bin/ ghc-8.4.4
333+ cabal configure -w ghc-8.4.4
329334 - 8_4_4-check: |
330335 cd example.org
331336 cabal check
@@ -344,7 +349,7 @@ tasks:
344349 cabal haddock all
345350 - 8_6_1-prepare: |
346351 cd example.org
347- cabal configure -w /opt/ghc/bin/ ghc-8.6.1
352+ cabal configure -w ghc-8.6.1
348353 - 8_6_1-check: |
349354 cd example.org
350355 cabal check
@@ -363,7 +368,7 @@ tasks:
363368 cabal haddock all
364369 - 8_6_2-prepare: |
365370 cd example.org
366- cabal configure -w /opt/ghc/bin/ ghc-8.6.2
371+ cabal configure -w ghc-8.6.2
367372 - 8_6_2-check: |
368373 cd example.org
369374 cabal check
@@ -382,7 +387,7 @@ tasks:
382387 cabal haddock all
383388 - 8_6_3-prepare: |
384389 cd example.org
385- cabal configure -w /opt/ghc/bin/ ghc-8.6.3
390+ cabal configure -w ghc-8.6.3
386391 - 8_6_3-check: |
387392 cd example.org
388393 cabal check
@@ -401,7 +406,7 @@ tasks:
401406 cabal haddock all
402407 - 8_6_4-prepare: |
403408 cd example.org
404- cabal configure -w /opt/ghc/bin/ ghc-8.6.4
409+ cabal configure -w ghc-8.6.4
405410 - 8_6_4-check: |
406411 cd example.org
407412 cabal check
@@ -420,7 +425,7 @@ tasks:
420425 cabal haddock all
421426 - 8_6_5-prepare: |
422427 cd example.org
423- cabal configure -w /opt/ghc/bin/ ghc-8.6.5
428+ cabal configure -w ghc-8.6.5
424429 - 8_6_5-check: |
425430 cd example.org
426431 cabal check
@@ -439,7 +444,7 @@ tasks:
439444 cabal haddock all
440445 - 8_8_1-prepare: |
441446 cd example.org
442- cabal configure -w /opt/ghc/bin/ ghc-8.8.1
447+ cabal configure -w ghc-8.8.1
443448 - 8_8_1-check: |
444449 cd example.org
445450 cabal check
@@ -458,7 +463,7 @@ tasks:
458463 cabal haddock all
459464 - 8_8_2-prepare: |
460465 cd example.org
461- cabal configure -w /opt/ghc/bin/ ghc-8.8.2
466+ cabal configure -w ghc-8.8.2
462467 - 8_8_2-check: |
463468 cd example.org
464469 cabal check
@@ -477,7 +482,7 @@ tasks:
477482 cabal haddock all
478483 - 8_8_3-prepare: |
479484 cd example.org
480- cabal configure -w /opt/ghc/bin/ ghc-8.8.3
485+ cabal configure -w ghc-8.8.3
481486 - 8_8_3-check: |
482487 cd example.org
483488 cabal check
@@ -496,7 +501,7 @@ tasks:
496501 cabal haddock all
497502 - 8_8_4-prepare: |
498503 cd example.org
499- cabal configure -w /opt/ghc/bin/ ghc-8.8.4
504+ cabal configure -w ghc-8.8.4
500505 - 8_8_4-check: |
501506 cd example.org
502507 cabal check
@@ -515,7 +520,7 @@ tasks:
515520 cabal haddock all
516521 - 8_10_1-prepare: |
517522 cd example.org
518- cabal configure -w /opt/ghc/bin/ ghc-8.10.1
523+ cabal configure -w ghc-8.10.1
519524 - 8_10_1-check: |
520525 cd example.org
521526 cabal check
@@ -534,7 +539,7 @@ tasks:
534539 cabal haddock all
535540 - 8_10_2-prepare: |
536541 cd example.org
537- cabal configure -w /opt/ghc/bin/ ghc-8.10.2
542+ cabal configure -w ghc-8.10.2
538543 - 8_10_2-check: |
539544 cd example.org
540545 cabal check
@@ -553,7 +558,7 @@ tasks:
553558 cabal haddock all
554559 - 8_10_3-prepare: |
555560 cd example.org
556- cabal configure -w /opt/ghc/bin/ ghc-8.10.3
561+ cabal configure -w ghc-8.10.3
557562 - 8_10_3-check: |
558563 cd example.org
559564 cabal check
@@ -572,7 +577,7 @@ tasks:
572577 cabal haddock all
573578 - 8_10_4-prepare: |
574579 cd example.org
575- cabal configure -w /opt/ghc/bin/ ghc-8.10.4
580+ cabal configure -w ghc-8.10.4
576581 - 8_10_4-check: |
577582 cd example.org
578583 cabal check
@@ -591,7 +596,7 @@ tasks:
591596 cabal haddock all
592597 - 8_10_5-prepare: |
593598 cd example.org
594- cabal configure -w /opt/ghc/bin/ ghc-8.10.5
599+ cabal configure -w ghc-8.10.5
595600 - 8_10_5-check: |
596601 cd example.org
597602 cabal check
@@ -610,7 +615,7 @@ tasks:
610615 cabal haddock all
611616 - 8_10_6-prepare: |
612617 cd example.org
613- cabal configure -w /opt/ghc/bin/ ghc-8.10.6
618+ cabal configure -w ghc-8.10.6
614619 - 8_10_6-check: |
615620 cd example.org
616621 cabal check
@@ -629,7 +634,7 @@ tasks:
629634 cabal haddock all
630635 - 8_10_7-prepare: |
631636 cd example.org
632- cabal configure -w /opt/ghc/bin/ ghc-8.10.7
637+ cabal configure -w ghc-8.10.7
633638 - 8_10_7-check: |
634639 cd example.org
635640 cabal check
0 commit comments