Skip to content

Commit

Permalink
matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
BebeSparkelSparkel committed Jul 8, 2024
1 parent 4b9e224 commit 37bf7f3
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,22 @@ jobs:
macos-latest:
name: macos-latest
runs-on: macos-latest
strategy:
matrix:
os:
- macos-latest
resolver:
20.26
19.33
18.28
steps:
- name: Install LLVM 12
run: brew install llvm@12
#echo "/opt/homebrew/opt/llvm@12/bin" >> "${GITHUB_PATH}"
#echo LDFLAGS="-L/opt/homebrew/opt/llvm@12/lib" >> "${GITHUB_ENV}"
#echo CPPFLAGS="-I/opt/homebrew/opt/llvm@12/include" >> "${GITHUB_ENV}"
if: ${{ matrix.os == macos-latest && matrix.resolver < 20 }}
run: |
brew install llvm@12
echo "/opt/homebrew/opt/llvm@12/bin" >> "${GITHUB_PATH}"
echo LDFLAGS="-L/opt/homebrew/opt/llvm@12/lib" >> "${GITHUB_ENV}"
echo CPPFLAGS="-I/opt/homebrew/opt/llvm@12/include" >> "${GITHUB_ENV}"
- name: Setup Haskell
uses: haskell-actions/[email protected]
with:
Expand All @@ -30,9 +40,7 @@ jobs:
run: |
set -ex
stack --version
for resolver in 18.28 19.33
do stack test --fast --no-terminal --resolver=lts-$resolver
done
stack test --fast --no-terminal --resolver=${{ matrix.resolver }}
# macos-13:
# name: macos-13
Expand Down

0 comments on commit 37bf7f3

Please sign in to comment.