Skip to content

Commit 413d7f3

Browse files
committed
gha: llvm-13 is only needed for ghc-8.10
llvm-13 is deprecated, once we deprecat `8.10` we can remove the llvm setup.
1 parent 3b93702 commit 413d7f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/haskell.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,20 @@ jobs:
3030
cabal-version: "3.10.3.0"
3131

3232
- name: Install LLVM (macOS)
33-
if: runner.os == 'macOS'
33+
if: runner.os == 'macOS' && matrix.ghc == '8.10'
3434
run: |
3535
brew install llvm@13
3636
echo "LLVM_CONFIG=$(brew --prefix llvm@13)/bin/llvm-config" >> $GITHUB_ENV
3737
echo "$(brew --prefix llvm@13)/bin" >> $GITHUB_PATH
3838
3939
- name: Verify LLVM installation
40-
if: runner.os == 'macOS'
40+
if: runner.os == 'macOS' && matrix.ghc == '8.10'
4141
run: |
4242
llvm-config --version
4343
opt --version
4444
4545
- name: Print environment variables
46-
if: runner.os == 'macOS'
46+
if: runner.os == 'macOS' && matrix.ghc == '8.10'
4747
run: |
4848
echo "PATH = $PATH"
4949
echo "LLVM_CONFIG = $LLVM_CONFIG"

0 commit comments

Comments
 (0)