-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (39 loc) · 992 Bytes
/
test.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
42
43
44
on:
pull_request:
workflow_dispatch:
name: Haskell CI
jobs:
test:
name: Haskell
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout sources
uses: actions/checkout@v3
- uses: ./.github/actions/libextism
- name: Setup Haskell env
uses: haskell/actions/setup@v2
with:
enable-stack: false
- name: 'Set up HLint'
uses: haskell/actions/hlint-setup@v2
- name: Build Haskell Host SDK
run: |
uname -a
cabal update
cabal build
- name: Test Haskell SDK
run: |
LD_LIBRARY_PATH=/usr/local/lib cabal test
- name: 'Run HLint'
uses: haskell/actions/hlint-run@v2
with:
path: src/
fail-on: warning
- name: 'Run HLint'
uses: haskell/actions/hlint-run@v2
with:
path: manifest/
fail-on: warning