Skip to content

Remove compatibility code for GHC < 8 #16

Remove compatibility code for GHC < 8

Remove compatibility code for GHC < 8 #16

Workflow file for this run

name: mhs-ci
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build-mhs-prettyprinter:
runs-on: ubuntu-latest
steps:
- name: checkout mhs repo
uses: actions/checkout@v4
with:
repository: augustss/MicroHs
ref: v0.15.4.0
path: mhs
- name: make and install mhs
run: |
cd mhs
make minstall
echo "$HOME/.mcabal/bin" >> "$GITHUB_PATH"
# prettyprinter
- name: checkout prettyprinter repo
uses: actions/checkout@v4
with:
path: prettyprinter
- name: compile and install prettyprinter package
run: |
cd prettyprinter/prettyprinter
mcabal -r install
- name: compile and install prettyprinter-ansi-terminal package
run: |
cd prettyprinter/prettyprinter-ansi-terminal
mcabal -r install
- name: compile and install prettyprinter-compat-annotated-wl-pprint package
run: |
cd prettyprinter/prettyprinter-compat-annotated-wl-pprint
mcabal -r install
- name: compile and install prettyprinter-compat-ansi-wl-pprint package
run: |
cd prettyprinter/prettyprinter-compat-ansi-wl-pprint
mcabal -r install
- name: compile and install prettyprinter-compat-wl-pprint package
run: |
cd prettyprinter/prettyprinter-compat-wl-pprint
mcabal -r install
- name: cleanup
run: |
rm -rf $HOME/.mcabal