Make it compile with MicroHs #15
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Haskell CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
name: ghc-${{ matrix.ghc }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ghc: ['8.0', '8.2', '8.4', '8.6', '8.8', '8.10', '9.0', '9.2', '9.4', '9.6', '9.8', '9.10', '9.12'] | |
steps: | |
- uses: actions/checkout@v5 | |
- uses: haskell-actions/setup@v2 | |
id: setup-haskell | |
with: | |
ghc-version: ${{ matrix.ghc }} | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
${{ steps.setup-haskell.outputs.cabal-store }} | |
dist-newstyle | |
key: ${{ runner.os }}-${{ matrix.ghc }} | |
- name: Build | |
run: cabal build | |
mhs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout MicroHs repository | |
uses: actions/checkout@v5 | |
with: | |
repository: augustss/MicroHs | |
ref: stable-7 | |
- name: Install MicroHs | |
run: make minstall | |
- uses: actions/checkout@v5 | |
- name: Build | |
run: | | |
PATH="$HOME/.mcabal/bin:$PATH" | |
mcabal build -r |