forked from carp-lang/Carp
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (32 loc) · 883 Bytes
/
osx.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
39
40
41
name: MacOS CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-latest
steps:
- name: Check out
uses: actions/checkout@v2
# - uses: actions/cache@v1
# name: Cache ~/.stack
# with:
# path: ~/.stack
# key: ${{ runner.os }}-stack-${{ github.sha }}
# restore-keys: ${{ runner.os }}-stack-
- name: Install SDL dependency (for SDL tests)
run: |
brew install sdl2 \
sdl2_gfx \
sdl2_image \
sdl2_mixer \
sdl2_ttf
- uses: actions/setup-haskell@v1
- name: Build
run: stack build
- name: Run Compiler Tests
run: stack test
- name: Run Carp Tests
run: ./scripts/run_carp_tests.sh