-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 981 Bytes
/
haskell.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
name: ms-graph-api-CI
on:
push:
branches: [ '*' ]
pull_request:
branches: [ master ]
defaults: { run: { shell: bash } }
jobs:
build:
name: stackage ${{ matrix.stack-resolver }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
stack-resolver: ['lts-20.24']
steps:
- name: git checkout
uses: actions/checkout@v3
- name: (ms-graph-api) Setup compiler, build and test
working-directory: ./ms-graph-api
run: |
stack build --resolver ${{ matrix.stack-resolver }}
stack test
- name: (ms-azure-api) Setup compiler, build and test
working-directory: ./ms-azure-api
run: |
stack build --no-install-ghc
stack test
- name: (ms-auth) Setup compiler, build and test
working-directory: ./ms-auth
run: |
stack build --no-install-ghc
stack test