diff options
author | jao <jao@gnu.org> | 2020-08-07 23:32:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-07 23:32:22 +0100 |
commit | 146b4260cf52c0653eea8490e0b47f87974a2a20 (patch) | |
tree | 0e3012647894cdecfb041aaf4a6e50e804669b04 /.github/workflows/haskell.yml | |
parent | 2eb42cde8999302220df8febd359108a6c6f7bc5 (diff) | |
download | xmobar-146b4260cf52c0653eea8490e0b47f87974a2a20.tar.gz xmobar-146b4260cf52c0653eea8490e0b47f87974a2a20.tar.bz2 |
Switch from Travis to Github actions (#480)
Diffstat (limited to '.github/workflows/haskell.yml')
-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 |