diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/haskell.yml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index ace7cac..d91c1db 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -1,4 +1,4 @@ -name: Haskell CI +name: Haskell CI (PRs) on: push: @@ -14,10 +14,10 @@ jobs: strategy: matrix: cabal: ["3.2"] - ghc: ["8.4", "8.6.5", "8.8.3", "8.10.1"] + ghc: ["8.4", "8.6", "8.8.3", "8.10"] env: CONFIG: "--enable-tests --enable-benchmarks -fall_extensions" - + steps: - uses: actions/checkout@v2 - uses: actions/setup-haskell@v1 @@ -38,10 +38,11 @@ jobs: ${{ runner.os }}- - name: Install packages - run: | + run: | + sudo apt-get install -y xorg-dev sudo apt-get install -y libasound2-dev libxpm-dev libmpd-dev libxrandr-dev - sudo apt-get install -y happy c2hs hspec-discover - + sudo apt-get install -y happy c2hs hspec-discover + - name: Install dependencies run: | cabal update @@ -49,7 +50,7 @@ jobs: - name: Build run: cabal build $CONFIG - + - name: Run hlint run: | wget https://raw.github.com/ndmitchell/hlint/master/misc/travis.sh |