ci: fix passing env vars to build scripts

This commit is contained in:
Daniele Varrazzo 2023-08-04 17:28:24 +01:00
parent 1e0086b1fe
commit 3eee3e336d

View File

@ -96,6 +96,7 @@ jobs:
CIBW_TEST_COMMAND: >-
export PYTHONPATH={project} &&
python -c "import tests; tests.unittest.main(defaultTest='tests.test_suite')"
CIBW_ENVIRONMENT_PASS_LINUX: LIBPQ_VERSION OPENSSL_VERSION
CIBW_ENVIRONMENT: >-
PACKAGE_NAME=psycopg2-binary
LIBPQ_BUILD_PREFIX=/host/tmp/libpq.build