File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 3838 if : runner.os == 'macOS'
3939 run : |
4040 brew install autoconf automake libtool protobuf protobuf-c
41+ echo "LDFLAGS=-L$(brew --prefix protobuf-c)/lib" >> $GITHUB_ENV
42+ echo "CPPFLAGS=-I$(brew --prefix protobuf-c)/include" >> $GITHUB_ENV
43+ echo "PKG_CONFIG_PATH=$(brew --prefix protobuf-c)/lib/pkgconfig" >> $GITHUB_ENV
4144
4245 - name : Build libpg_query and extension
4346 working-directory : src/extension/pg-query-ext
5255 - name : Install extension
5356 working-directory : src/extension/pg-query-ext
5457 run : |
55- sudo make install
58+ EXT_DIR=$(php -r 'echo ini_get("extension_dir");')
59+ sudo cp ext/modules/pg_query.so "$EXT_DIR/"
60+ echo "extension=pg_query.so" | sudo tee -a "$(php -r 'echo php_ini_loaded_file();')"
5661 php -m | grep pg_query
5762
5863 - name : Run pg-query library tests
You can’t perform that action at this time.
0 commit comments