~singpolyma/cheogram

53252886f2d167e52a74022b87ad3a3b31b1c4e8 — Stephen Paul Weber 1 year, 10 months ago 33634f2
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.
1 files changed, 7 insertions(+), 0 deletions(-)

M .builds/debian-stable.yml
M .builds/debian-stable.yml => .builds/debian-stable.yml +7 -0
@@ 1,6 1,7 @@
image: debian/stable
sources:
- https://git.singpolyma.net/cheogram
- https://git.singpolyma.net/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: |