diff options
author | Ben Simms <ben@bensimms.moe> | 2021-05-28 06:56:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-28 07:56:20 +0200 |
commit | c120839debadd7a1427cee84459c01d59c5b85aa (patch) | |
tree | 4f44ec098e67db839d16b8402165d34ff882b5f2 /.github | |
parent | 4f9088e4b04e52ca510b55a78048c9230537e449 (diff) |
CI configuration for ghc-head (#1395)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b2b882e3..c2aa9f3c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ name: CI on: pull_request: push: - branches: ["ghc-9.0"] + branches: ["ghc-head"] jobs: cabal: @@ -13,15 +13,20 @@ jobs: strategy: matrix: os: [ubuntu-latest] - cabal: ["3.4"] + cabal: ["3.4.0.0"] ghc: - - "9.0.1" + - "head" steps: - uses: actions/checkout@v2 - if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/ghc-9.0' + if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/ghc-head' - - uses: haskell/actions/setup@v1 + - name: Install gmp and tinfo + run: | + sudo -- sh -c "apt-get update" + sudo -- sh -c "apt-get -y install libgmp-dev libtinfo-dev" + + - uses: haskell/actions/setup@main id: setup-haskell-cabal name: Setup Haskell with: @@ -31,7 +36,6 @@ jobs: - name: Prepare environment run: echo "$HOME/.ghcup/bin" >> $GITHUB_PATH - - name: Freeze run: | cabal freeze |