A .builds/debian-stable.yml => .builds/debian-stable.yml +27 -0
@@ 0,0 1,27 @@
+image: debian/stable
+sources:
+- https://git.sr.ht/~singpolyma/cheogram-muc-bridge
+packages:
+- cabal-install
+- c2hs
+- pkg-config
+- libgnutls28-dev
+- libgsasl7-dev
+- libxml2-dev
+- zlib1g-dev
+- hlint
+environment:
+ LANG: C.UTF-8
+artifacts:
+- cheogram-muc-bridge/dist/build/gateway/gateway
+tasks:
+- lint: |
+ hlint -i"Use tuple-section" .
+- cabal_update: |
+ cabal update
+- dependencies: |
+ cd cheogram-muc-bridge
+ cabal install --enable-tests --only-dependencies
+- test: |
+ cd cheogram-muc-bridge
+ cabal build --ghc-option=-Werror
A .builds/ubuntu-lts.yml => .builds/ubuntu-lts.yml +27 -0
@@ 0,0 1,27 @@
+image: ubuntu/lts
+sources:
+- https://git.sr.ht/~singpolyma/cheogram-muc-bridge
+packages:
+- cabal-install
+- c2hs
+- pkg-config
+- libgnutls28-dev
+- libgsasl7-dev
+- libxml2-dev
+- zlib1g-dev
+- hlint
+environment:
+ LANG: C.UTF-8
+artifacts:
+- cheogram-muc-bridge/dist/build/gateway/gateway
+tasks:
+- lint: |
+ hlint -i"Use tuple-section" .
+- cabal_update: |
+ cabal update
+- dependencies: |
+ cd cheogram-muc-bridge
+ cabal install --enable-tests --only-dependencies
+- test: |
+ cd cheogram-muc-bridge
+ cabal build --ghc-option=-Werror