GitHuB CI: Try adding windows build.
commitb59e6d03762becd5c9d767463ce7ba5062a1b4a0
authorJohn MacFarlane <jgm@berkeley.edu>
dateFri 13 Sep 2019, 10:54 (7 years ago)
parent8984eb7
.github/workflows/haskell.yml+17−1
@@ -3,7 +3,7 @@ name: Haskell CI
33on: [push]
44
55jobs:
6− build:
6+ linux:
77
88 runs-on: ubuntu-latest
99
@@ -27,3 +27,19 @@ jobs:
2727 run: |
2828 export PATH=/opt/cabal/bin:/opt/ghc/bin:$PATH
2929 cabal v2-test
30+
31+ windows:
32+
33+ runs-on: windows-latest
34+
35+ steps:
36+ - uses: actions/checkout@v1
37+ - name: Install stack
38+ shell: cmd
39+ run: |
40+ choco install haskell-stack
41+ - name: Build and test
42+ shell: cmd
43+ run: |
44+ stack update
45+ stack test