From d9125ac9bce581f246cbc420e62438af4946a484 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 16 Sep 2019 21:44:54 -0700 Subject: GitHub CI - add macos. --- .github/workflows/haskell.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to '.github') 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 -- cgit v1.2.3