From 53252886f2d167e52a74022b87ad3a3b31b1c4e8 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Thu, 28 Jan 2021 22:35:34 -0500 Subject: [PATCH] Fix CI jingle-xmpp isn't on hackage (yet?) so we need to install it from git. Because we install everything from hackage in CI instead of using Debian packages, installing jingle-xmpp first can cause a version of random not compatible with some cheogram dependencies to get installed. Easiest fix for that is to just install a known-good version first, then everything works. --- .builds/debian-stable.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.builds/debian-stable.yml b/.builds/debian-stable.yml index b640f80..08c7001 100644 --- a/.builds/debian-stable.yml +++ b/.builds/debian-stable.yml @@ -1,6 +1,7 @@ image: debian/stable sources: - https://git.sr.ht/~singpolyma/cheogram +- https://git.sr.ht/~singpolyma/jingle-xmpp packages: - ghc - cabal-install @@ -8,8 +9,10 @@ packages: - pkg-config - libgnutls28-dev - libgsasl7-dev +- libpcre3-dev - libtokyocabinet-dev - libxml2-dev +- zlib1g-dev - hlint environment: LANG: C.UTF-8 @@ -19,6 +22,10 @@ tasks: - cabal_update: | cabal update - dependencies: | + cabal install random-1.1 + cd jingle-xmpp + cabal install + cd .. cd cheogram cabal install --enable-tests --only-dependencies - test: | -- 2.45.2