-
Notifications
You must be signed in to change notification settings - Fork 42
59 lines (49 loc) · 1.44 KB
/
mhs-ci.yml
File metadata and controls
59 lines (49 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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@v6
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@v6
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