From 04b77700afa14f8ed0cf96869b6947d775f49728 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Wed, 25 Nov 2020 21:46:18 -0500 Subject: [PATCH] Add builds --- .builds/debian-stable.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .builds/debian-stable.yml diff --git a/.builds/debian-stable.yml b/.builds/debian-stable.yml new file mode 100644 index 0000000..36835c8 --- /dev/null +++ b/.builds/debian-stable.yml @@ -0,0 +1,26 @@ +image: debian/stable +sources: +- https://git.sr.ht/~singpolyma/jingle-xmpp +packages: +- ghc +- cabal-install +- c2hs +- pkg-config +- libgnutls28-dev +- libgsasl7-dev +- libxml2-dev +- hlint +environment: + LANG: C.UTF-8 +tasks: +- lint: | + cd jingle-xmpp + hlint . +- cabal_update: | + cabal update +- dependencies: | + cd jingle-xmpp + cabal install --enable-tests --only-dependencies +- test: | + cd jingle-xmpp + cabal build -- 2.45.2