File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : other
2
+ on :
3
+ - push
4
+ - pull_request
5
+
6
+ defaults :
7
+ run :
8
+ shell : bash
9
+
10
+ jobs :
11
+ build :
12
+ runs-on : ${{ matrix.os }}
13
+ strategy :
14
+ fail-fast : true
15
+ matrix :
16
+ os : [windows-latest, macOS-latest]
17
+ ghc : ['latest']
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - uses : haskell/actions/setup@v1
21
+ id : setup-haskell-cabal
22
+ with :
23
+ ghc-version : ${{ matrix.ghc }}
24
+ - name : Update cabal package database
25
+ run : cabal update
26
+ - uses : actions/cache@v2
27
+ name : Cache cabal stuff
28
+ with :
29
+ path : |
30
+ ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
31
+ dist-newstyle
32
+ key : ${{ runner.os }}-${{ matrix.ghc }}
33
+ - name : Build
34
+ run : |
35
+ cabal sdist -z -o .
36
+ cabal get zlib-*.tar.gz
37
+ cd zlib-*/
38
+ cabal build
39
+ - name : Haddock
40
+ run : |
41
+ cd zlib-*/
42
+ cabal haddock
You can’t perform that action at this time.
0 commit comments