~singpolyma/cheogram-muc-bridge

97c3db8320cbd7bb5656894b44bb734182b277d0 — Stephen Paul Weber 3 years ago a619487
set up CI
2 files changed, 54 insertions(+), 0 deletions(-)

A .builds/debian-stable.yml
A .builds/ubuntu-lts.yml
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