Skip to content

Commit

Permalink
ci: move C_INCLUDE_PATH line
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Jul 23, 2024
1 parent f7ece4c commit 4e92024
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/sandwich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ jobs:
# For older GHCs
brew install llvm@13
echo /opt/homebrew/opt/llvm@13/bin >> $GITHUB_PATH
# https://gitlab.haskell.org/ghc/ghc/-/issues/20592#note_391266
echo "C_INCLUDE_PATH=`xcrun --show-sdk-path`/usr/include/ffi" >> "$GITHUB_ENV"
- name: Install dependencies (Windows)
if: runner.os == 'Windows'
Expand All @@ -66,9 +68,6 @@ jobs:
- name: Build
run: |
export C_INCLUDE_PATH="`xcrun --show-sdk-path`/usr/include/ffi"
# export LDFLAGS="-L/opt/homebrew/opt/llvm@13/lib"
# export CPPFLAGS="-I/opt/homebrew/opt/llvm@13/include"
cabal configure --enable-tests --enable-benchmarks --test-show-details=direct
cabal build all
Expand Down

0 comments on commit 4e92024

Please sign in to comment.