File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -114,10 +114,15 @@ jobs:
114114
115115 - name : Setup opam switch
116116 if : steps.cache-opam.outputs.cache-hit != 'true'
117- env :
118- CFLAGS : -I/opt/homebrew/include/
119117 run : |
120118 set -Eeuxo pipefail
119+
120+ if [[ "${{ runner.os }}" == "macOS" ]]; then
121+ CFLAGS=-I/opt/homebrew/include/
122+ LDFLAGS=-L/opt/homebrew/lib/
123+ PKG_CONFIG_PATH="$(brew --prefix libpq)/lib/ pkgconfig:$PKG_CONFIG_PATH"
124+ fi
125+
121126 opam repository set-url default https://github.com/ocaml/opam-repository.git\#08d8c16c16dc6b23a5278b06dff0ac6c7a217356
122127 opam repository add --yes --all --set-default o1-labs https://github.com/o1-labs/opam-repository.git
123128 opam pin add --no-action async_ssl https://github.com/o1-labs/async_ssl.git\#v0.14-o1labs
You can’t perform that action at this time.
0 commit comments