From c120839debadd7a1427cee84459c01d59c5b85aa Mon Sep 17 00:00:00 2001 From: Ben Simms Date: Fri, 28 May 2021 06:56:20 +0100 Subject: CI configuration for ghc-head (#1395) --- .github/workflows/ci.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to '.github') 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 -- cgit v1.2.3