From 146b4260cf52c0653eea8490e0b47f87974a2a20 Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 7 Aug 2020 23:32:22 +0100 Subject: Switch from Travis to Github actions (#480) --- .github/workflows/haskell.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to '.github/workflows') 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 -- cgit v1.2.3