Skip to content

Commit d3a6da7

Browse files
authored
Try to fix macOS CI steps (#128)
Explicitly skip old, broken macOS CI steps, expand LTS's in CI.
1 parent 7463fa9 commit d3a6da7

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.github/workflows/tests.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,20 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
os: [ubuntu-latest, macos-latest, windows-latest]
17-
resolver: [nightly, lts-19, lts-18, lts-17, lts-16, lts-14]
17+
resolver: [nightly, lts-24, lts-23, lts-22, lts-21, lts-20, lts-19, lts-18, lts-17, lts-16, lts-14]
18+
exclude:
19+
# Exclude older LTS versions for macOS ARM64 due to LLVM compatibility issues
20+
# LTS 20+ use newer GHC versions that work better with current LLVM
21+
- os: macos-latest
22+
resolver: lts-19
23+
- os: macos-latest
24+
resolver: lts-18
25+
- os: macos-latest
26+
resolver: lts-17
27+
- os: macos-latest
28+
resolver: lts-16
29+
- os: macos-latest
30+
resolver: lts-14
1831

1932
steps:
2033
- name: Clone project
@@ -29,6 +42,12 @@ jobs:
2942
# restore-keys: |
3043
# ${{ runner.os }}-${{ matrix.resolver }}-
3144

45+
- name: Setup Stack
46+
uses: haskell-actions/setup@v2
47+
with:
48+
enable-stack: true
49+
stack-no-global: true
50+
3251
- name: Build and run tests
3352
shell: bash
3453
run: |

0 commit comments

Comments
 (0)