mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: use brew install libpq
for installing the postgresql development libraries on macos
This commit is contained in:
parent
22666f4f73
commit
9e78724a41
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -164,7 +164,7 @@ jobs:
|
|||||||
timeout-minutes: 121
|
timeout-minutes: 121
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc clang
|
VFLAGS: -cc clang
|
||||||
PKG_CONFIG_PATH: /usr/local/opt/openssl@3/lib/pkgconfig
|
PKG_CONFIG_PATH: /usr/local/opt/openssl@3/lib/pkgconfig:/opt/homebrew/opt/openssl@3/lib/pkgconfig:/opt/homebrew/lib/pkgconfig
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
@ -172,10 +172,7 @@ jobs:
|
|||||||
node-version: 12.x
|
node-version: 12.x
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
##brew install libpq openssl freetype ### these are *already installed* on Catalina ...
|
brew install libpq postgresql openssl
|
||||||
brew uninstall --ignore-dependencies libpq ## libpq is a dependency of PHP
|
|
||||||
brew install libpq-dev
|
|
||||||
brew install postgresql openssl
|
|
||||||
export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/opt/openssl/lib/"
|
export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/opt/openssl/lib/"
|
||||||
echo "PKG_CONFIG_PATH is '$PKG_CONFIG_PATH'"
|
echo "PKG_CONFIG_PATH is '$PKG_CONFIG_PATH'"
|
||||||
- name: Build V
|
- name: Build V
|
||||||
|
Loading…
Reference in New Issue
Block a user