blob: ef33379dc28c29d7653211366e529a653d4d10e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
when:
- event: [push, pull_request, manual]
matrix:
GHC:
# - '9.14' currently broken due to: https://github.com/gtk2hs/gtk2hs/issues/348
# - '9.12' currently broken due to: https://github.com/gtk2hs/gtk2hs/issues/348
- '9.10'
- '9.8'
- '9.6'
steps:
- name: hlint
image: haskell:${GHC}
commands:
- apt-get update && apt-get install -y hlint
- hlint src
- name: build-and-test
image: haskell:${GHC}
commands:
- apt-get update
- >-
apt-get install -y
xorg-dev libxrandr-dev libpango1.0-dev
libasound2-dev libxpm-dev libmpd-dev
hspec-discover
- cabal update
- cabal build all --only-dependencies --enable-tests -fall_extensions --disable-documentation
- cabal build all --enable-tests -fall_extensions --disable-documentation
- cabal test all --enable-tests -fall_extensions --disable-documentation
- cabal test all --enable-tests -fall_extensions -f-with_xrender --disable-documentation
|