Skip to content

Commit

Permalink
Stack-lts-Mac.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stla committed Oct 31, 2023
1 parent 3197767 commit 1a76d2d
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
36 changes: 36 additions & 0 deletions .github/workflows/Stack-lts-Mac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Stack-lts

on:
pull_request:
push:
branches: [main, master]

jobs:
test:
strategy:
matrix:
runner:
- macOS-latest

resolver:
- lts # ghc-9.4 (as of writing)
- lts-21.19 # ghc 9.4.7
- lts-21.11 # ghc-9.4.6

fail-fast: false

runs-on: ${{ matrix.runner }}

steps:
- uses: actions/checkout@v3
- uses: freckle/stack-action@v3

- id: stack
uses: freckle/stack-action@v3
with:
stack-arguments: --resolver ${{ matrix.resolver }} --copy-bins --coverage

- uses: actions/upload-artifact@v2
with:
name: coverage-report
path: ${{ steps.stack.outputs.local-hpc-root }}
1 change: 0 additions & 1 deletion .github/workflows/Stack-lts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
matrix:
runner:
- ubuntu-latest
- macOS-latest
- windows-latest

resolver:
Expand Down

0 comments on commit 1a76d2d

Please sign in to comment.