From 1a76d2d6736ba7a64264b5c0f6b1f1d17313e6fd Mon Sep 17 00:00:00 2001 From: stla Date: Tue, 31 Oct 2023 18:59:54 +0100 Subject: [PATCH] Stack-lts-Mac.yml --- .github/workflows/Stack-lts-Mac.yml | 36 +++++++++++++++++++++++++++++ .github/workflows/Stack-lts.yml | 1 - 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/Stack-lts-Mac.yml diff --git a/.github/workflows/Stack-lts-Mac.yml b/.github/workflows/Stack-lts-Mac.yml new file mode 100644 index 0000000..38825a1 --- /dev/null +++ b/.github/workflows/Stack-lts-Mac.yml @@ -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 }} \ No newline at end of file diff --git a/.github/workflows/Stack-lts.yml b/.github/workflows/Stack-lts.yml index ddf3b99..2edc08b 100644 --- a/.github/workflows/Stack-lts.yml +++ b/.github/workflows/Stack-lts.yml @@ -11,7 +11,6 @@ jobs: matrix: runner: - ubuntu-latest - - macOS-latest - windows-latest resolver: