Skip to content

Commit 97dae9e

Browse files
committed
Add MicroHs CI
1 parent 3d34808 commit 97dae9e

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ on:
1010

1111
jobs:
1212
build:
13+
name: ghc-${{ matrix.ghc }}
1314
runs-on: ubuntu-latest
1415
strategy:
1516
fail-fast: false
1617
matrix:
1718
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']
1819
steps:
19-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
2021
- uses: haskell-actions/setup@v2
2122
id: setup-haskell
2223
with:
@@ -29,3 +30,19 @@ jobs:
2930
key: ${{ runner.os }}-${{ matrix.ghc }}
3031
- name: Build
3132
run: cabal build
33+
34+
mhs:
35+
runs-on: ubuntu-latest
36+
steps:
37+
- name: Checkout MicroHs repository
38+
uses: actions/checkout@v5
39+
with:
40+
repository: augustss/MicroHs
41+
ref: stable-7
42+
- name: Install MicroHs
43+
run: make minstall
44+
- uses: actions/checkout@v5
45+
- name: Build
46+
run: |
47+
PATH="$HOME/.mcabal/bin:$PATH"
48+
mcabal build -r

0 commit comments

Comments
 (0)