ci(macos): move libpq build script to BEFORE_ALL build step

This is is how it is organised in Linux.
This commit is contained in:
Daniele Varrazzo 2025-01-05 02:37:42 +01:00
parent d43e5fe092
commit 310bc75532
2 changed files with 6 additions and 6 deletions

View File

@ -160,12 +160,6 @@ jobs:
- name: Checkout repos - name: Checkout repos
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Build dependencies
run: ./scripts/build/build_libpq.sh
- name: Show dependency tree
run: otool -L /tmp/libpq.build/lib/*.dylib
- name: Build wheels - name: Build wheels
uses: pypa/cibuildwheel@v2.22.0 uses: pypa/cibuildwheel@v2.22.0
env: env:

View File

@ -11,6 +11,12 @@ set -x
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
prjdir="$( cd "${dir}/../.." && pwd )" prjdir="$( cd "${dir}/../.." && pwd )"
# Build dependency libraries
"${prjdir}/scripts/build/build_libpq.sh"
# Show dependency tree
# otool -L /tmp/libpq.build/lib/*.dylib
brew install gnu-sed postgresql@${PG_VERSION} brew install gnu-sed postgresql@${PG_VERSION}
brew link --overwrite postgresql@${PG_VERSION} brew link --overwrite postgresql@${PG_VERSION}