Skip to content

Commit

Permalink
install stack of macos as it is no longer included
Browse files Browse the repository at this point in the history
ghc 8 not happy no macos-latest
  • Loading branch information
dten committed Jul 16, 2024
1 parent 10f218a commit a1bc442
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,17 @@ jobs:
args:
#- "--resolver nightly"
- "--resolver nightly-2022-02-11"
- "--resolver lts-22"
- "--resolver lts-20"
- "--resolver lts-18"
- "--resolver lts-16"
- "--resolver lts-14"
# Bugs in GHC make it crash too often to be worth running
exclude:
- os: windows-latest
args: "--resolver nightly"
- os: macos-latest
args: "--resolver lts-18"
- os: macos-latest
args: "--resolver lts-16"
- os: macos-latest
Expand All @@ -42,6 +46,16 @@ jobs:
# restore-keys: |
# ${{ runner.os }}-${{ matrix.resolver }}-

- name: Install stack if needed
shell: bash
run: |
set -ex
if [[ "${{ matrix.os }}" == "macos-latest" ]]
then
# macos-latest does not include Haskell tools as of 2024-05-06.
curl -sSL https://get.haskellstack.org/ | sh
fi
- name: Build and run tests
shell: bash
run: |
Expand Down

0 comments on commit a1bc442

Please sign in to comment.