File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Hackage, Cabal, macOS"
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - master
8
+ schedule :
9
+ - cron : " 45 02 * * *"
10
+
11
+
12
+ jobs :
13
+
14
+ build10 :
15
+ name : " GHC"
16
+ runs-on : macos-latest
17
+ continue-on-error : true
18
+ # Template to build matrix of builds for subprojects in monorepo
19
+ strategy :
20
+ matrix :
21
+ packageRoots : [ ./ ]
22
+ ghc : [ "8.10" ]
23
+ defaults :
24
+ run :
25
+ working-directory : " ${{ matrix.packageRoots }}"
26
+ steps :
27
+ - uses : actions/checkout@v2
28
+ - name : " Cache of ~/.cabal/packages, ~/.cabal/store and dist-newstyle"
29
+ uses : actions/cache@v2
30
+ with :
31
+ path : |
32
+ ~/.cabal/packages
33
+ ~/.cabal/store
34
+ dist-newstyle
35
+ key : " ${{ runner.os }}-Cabal-${{ matrix.ghc }}"
36
+ - uses : haskell/actions/setup@v1
37
+ with :
38
+ ghc-version : ${{ matrix.ghc }}
39
+ - run : " cabal v2-configure --disable-optimization --enable-tests --enable-deterministic"
40
+ - run : " cabal v2-build"
41
+ - run : " cabal v2-test"
You can’t perform that action at this time.
0 commit comments