forked from commercialhaskell/stack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstan.yml.disabled
More file actions
52 lines (43 loc) · 1.1 KB
/
stan.yml.disabled
File metadata and controls
52 lines (43 loc) · 1.1 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
# This workflow has been disabled by renaming the file `stan.yml.disabled`
# because Stan does not yet support GHC >= 9.0.
# See: https://github.com/kowainik/stan/issues/423.
#
name: stan
on:
pull_request:
push:
branches:
- master
- stable
- rc/**
jobs:
build:
name: ghc ${{ matrix.ghc }}
runs-on: ubuntu-latest
strategy:
matrix:
cabal: ["3.6"]
ghc:
- "8.10.7"
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: haskell/actions/setup@v1
name: Setup GHC and cabal-install
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- uses: actions/cache@v2
name: cache ~/.cabal/store
with:
path: ~/.cabal/store
key: ${{ runner.os }}-${{ matrix.ghc }}-cabal
- name: update
run: cabal update
- name: install stan
run: cabal install stan --installdir=.bin --install-method=copy --overwrite-policy=always
- name: generate .hie for analysis
run: cabal build stack:lib:stack
- name: stan
run: .bin/stan report