From f9602b3739abd0bda1efcea5bab8fbf739446a27 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Mon, 7 Mar 2022 20:07:25 -0500 Subject: [PATCH] Build in CI --- .builds/debian-stable.yml | 26 ++++++++++++++++++++++++++ cheogram-sip.cabal | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) 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..77544d9 --- /dev/null +++ b/.builds/debian-stable.yml @@ -0,0 +1,26 @@ +image: debian/buster +sources: +- https://git.sr.ht/~singpolyma/cheogram-sip +packages: +- ghc +- cabal-install +- c2hs +- pkg-config +- libgsasl7-dev +- libgnutls28-dev +- libxml2-dev +- libghc-basement-dev +artifacts: +- cheogram-sip/dist/build/gateway/gateway +environment: + LANG: C.UTF-8 +tasks: +- cabal_update: | + cabal update +- dependencies: | + cd cheogram-sip + cabal install --only-dependencies +- test: | + cd cheogram-sip + cabal configure + cabal build diff --git a/cheogram-sip.cabal b/cheogram-sip.cabal index cdd22b2..d227cd7 100644 --- a/cheogram-sip.cabal +++ b/cheogram-sip.cabal @@ -12,7 +12,7 @@ build-type: Simple common defs default-language: Haskell2010 ghc-options: -Wall -Wno-tabs -Wno-orphans - build-depends: base >=4.11 && <4.13, + build-depends: base >=4.11 && <4.14, attoparsec >=0.13 && <0.14, base64-bytestring, basic-prelude >=0.7 && <0.8, -- 2.34.2