Skip to content

Merge pull request #29 from icicle-lang/topic/linear-array-access #53

Merge pull request #29 from icicle-lang/topic/linear-array-access

Merge pull request #29 from icicle-lang/topic/linear-array-access #53

Workflow file for this run

name: Haskell CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
cabal:
name: ${{ matrix.os }} / ghc ${{ matrix.ghc }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- cabal: "3.8.1"
ghc: "8.8.4"
os: ubuntu-latest
- cabal: "3.8.1"
ghc: "8.10.7"
os: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: haskell/actions/setup@v2
id: setup-haskell-cabal
name: Setup Haskell
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- name: Freeze
run: |
cabal configure
cabal freeze
- uses: actions/cache@v1
name: Cache ~/.cabal/store
with:
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
- name: Build
run: |
cabal build all
- name: Test
run: |
cabal test icicle