-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (38 loc) · 998 Bytes
/
ci.yml
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
33
34
35
36
37
38
name: CI
on:
push:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
ghc: ['8.2', '8.4', '8.6', '8.8', '8.10', '9.0', '9.2', '9.4']
cabal: ['3.8']
experimental: [false]
include:
- ghc: '9.6'
cabal: '3.10'
experimental: false
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install GHC and Cabal
uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- name: Install
env:
GHCVER: ${{ matrix.ghc }}
CABALVER: ${{ matrix.cabal }}
run: |
set -e
cabal --version
echo "$(ghc --version) "`
`"[$(ghc --print-project-git-commit-id 2>/dev/null || echo '?')]"
cabal update
cabal build
set +e