Skip to content

Commit 985ca25

Browse files
committed
Add Docker testing for older and newer Ubuntu versions
1 parent 3cae6cd commit 985ca25

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

test/buildtest

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ fi
2222

2323
cabal install --dependencies-only --enable-tests "${flags[@]}" ||
2424
cabal install --dependencies-only "${flags[@]}" ||
25-
die "can't install dependencies"
25+
cabal install --dependencies-only --max-backjumps -1 "${flags[@]}" ||
26+
die "can't install dependencies"
2627
cabal configure --enable-tests "${flags[@]}" ||
2728
die "configure failed"
2829
cabal build ||

test/distrotest

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ fedora:latest dnf install -y cabal-install ghc-template-haskell-devel fi
6767
archlinux:latest pacman -S -y --noconfirm cabal-install ghc-static base-devel
6868
6969
# Ubuntu LTS
70+
ubuntu:22.04 apt-get update && apt-get install -y cabal-install
7071
ubuntu:20.04 apt-get update && apt-get install -y cabal-install
72+
ubuntu:18.04 apt-get update && apt-get install -y cabal-install
73+
ubuntu:16.04 apt-get update && apt-get install -y cabal-install
7174
7275
# Stack on Ubuntu LTS
7376
ubuntu:20.04 set -e; apt-get update && apt-get install -y curl && curl -sSL https://get.haskellstack.org/ | sh -s - -f && cd /mnt && exec test/stacktest

0 commit comments

Comments
 (0)