-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (36 loc) · 980 Bytes
/
ci-macos.yml
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
name: macOS
on:
push:
branches:
- '*'
- '!*-alpha*'
- '!selfhosted-*'
pull_request:
branches:
- main
env:
SCHEME: chez
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install build dependencies
run: |
brew install chezscheme
brew install erlang
brew install coreutils
echo "$HOME/.idris2erl/bin" >> $GITHUB_PATH
- name: Build Idris 2 from bootstrap
run: cd idris2 && make bootstrap && make install
shell: bash
- name: Build Idris 2
run: cd idris2 && IDRIS2_BOOT=idris2erl make clean && IDRIS2_BOOT=idris2erl make all && IDRIS2_BOOT=idris2erl make install
shell: bash
- name: Run tests
run: cd idris2 && IDRIS2_BOOT=idris2erl make test INTERACTIVE=''
shell: bash
- name: Run samples
run: cd samples && ./runsamples.sh
shell: bash