Skip to content

Commit 34cc474

Browse files
committed
ci: try fixing macOS CI
1 parent ae0a097 commit 34cc474

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/sandwich.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,17 @@ jobs:
109109
# https://gitlab.haskell.org/ghc/ghc/-/issues/20592#note_391266
110110
echo "C_INCLUDE_PATH=`xcrun --show-sdk-path`/usr/include/ffi" >> "$GITHUB_ENV"
111111
112+
echo "Current LDFLAGS: $LDFLAGS"
113+
echo "Current CPPFLAGS: $CPPFLAGS"
114+
115+
echo "LDFLAGS=-L/opt/homebrew/opt/postgresql@18/lib" >> "$GITHUB_ENV"
116+
echo "CPPFLAGS=-I/opt/homebrew/opt/postgresql@18/include" >> "$GITHUB_ENV"
117+
118+
echo "Original PATH: $PATH"
119+
export PATH="/opt/homebrew/opt/postgresql@18/bin:$PATH"
120+
echo "New PATH: $PATH"
121+
echo "PATH=$PATH" >> "$GITHUB_ENV"
122+
112123
- uses: haskell-actions/setup@v2
113124
id: setup-haskell-cabal
114125
name: Setup Haskell

0 commit comments

Comments
 (0)