Skip to content

Commit

Permalink
Fix GHC 9.2 version in excludes
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaimaruseac authored Dec 24, 2022
1 parent 5ec1b53 commit 5eeea0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Cabal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ jobs:
cabal-cache-v2-${{ runner.os }}-
- name: Build
run: cabal v2-build $CONFIG
if: matrix.os != 'macOS-latest' || matrix.ghc != '9.2.2'
if: matrix.os != 'macOS-latest' || matrix.ghc != '9.2.5'
# See https://gitlab.haskell.org/ghc/ghc/-/issues/20592#note_391266 for the problem and workaround.
# This problem is fixed in GHC 9.2.3.
- name: Build with a workaround for macOS
run: C_INCLUDE_PATH="`xcrun --show-sdk-path`/usr/include/ffi" cabal v2-build $CONFIG
if: matrix.os == 'macOS-latest' && matrix.ghc == '9.2.2'
if: matrix.os == 'macOS-latest' && matrix.ghc == '9.2.5'
- name: Run tests
run: cabal v2-test $CONFIG
- name: Run benchmarks
Expand Down

0 comments on commit 5eeea0a

Please sign in to comment.