aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-09-16 21:44:54 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-09-16 21:44:54 -0700
commitd9125ac9bce581f246cbc420e62438af4946a484 (patch)
treea63e6bd3201cfb2a80ab3db850e252d58a8df085 /.github
parent6c077b8f2c751f6a55d12eca50186b6f4f249476 (diff)
downloadpandoc-d9125ac9bce581f246cbc420e62438af4946a484.tar.gz
GitHub CI - add macos.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/haskell.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml
index ae10cd929..d146795b7 100644
--- a/.github/workflows/haskell.yml
+++ b/.github/workflows/haskell.yml
@@ -84,3 +84,23 @@ jobs:
shell: cmd
run: |
stack test
+
+ macos:
+
+ runs-on: macOS-latest
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Install stack
+ run: |
+ curl -L https://get.haskellstack.org/stable/osx-x86_64.tar.gz -o stack.tar.gz
+ tar xzvf stack.tar.gz
+ - name: Install dependencies
+ run: |
+ export PATH=stack-*-osx-x86_64:$PATH
+ stack update
+ stack test --dependencies-only
+ - name: Build and test
+ run: |
+ export PATH=stack-*-osx-x86_64:$PATH
+ stack test