Skip to content

Commit

Permalink
fix: remove old ghc version from workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Anut-py committed May 17, 2024
1 parent a9181e4 commit 85b18fc
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/cabal-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
ghc-version: ['9.8', '9.2', '8.10']
ghc-version: ['9.8', '9.2']

steps:
- uses: actions/checkout@v4
Expand All @@ -44,16 +44,10 @@ jobs:
# run: |
# choco install mingw

- name: Install dependencies on macOS
if: startsWith(matrix.os, 'macOS')
run: |
brew install llvm@12
export PATH="/opt/homebrew/opt/llvm@12/bin:$PATH"
export LDFLAGS="-L/opt/homebrew/opt/llvm@12/lib"
export CPPFLAGS="-I/opt/homebrew/opt/llvm@12/include"
echo 'export PATH="/opt/homebrew/opt/llvm@12/bin:$PATH"' >> /Users/runner/.bash_profile
echo 'export LDFLAGS="-L/opt/homebrew/opt/llvm@12/lib"' >> /Users/runner/.bash_profile
echo 'export CPPFLAGS="-I/opt/homebrew/opt/llvm@12/include"' >> /Users/runner/.bash_profile
# - name: Install dependencies on macOS
# if: startsWith(matrix.os, 'macOS')
# run: |
# brew install ...

- name: Configure the build
run: |
Expand Down

0 comments on commit 85b18fc

Please sign in to comment.