@@ -3,25 +3,25 @@ name: Build binary packages
33# Note: Libpq is currently built from source on most platforms and the build
44# artifacts are cached across pipeline runs.
55#
6- # You can see the caches at https://github.com/psycopg/psycopg /actions/caches
6+ # You can see the caches at https://github.com/gaussdb/gaussdb /actions/caches
77#
88# You can delete a cache using:
99#
1010# curl -L -X DELETE
1111# -H "Accept: application/vnd.github+json"
1212# -H "Authorization: Bearer $GITHUB_TOKEN"
1313# -H "X-GitHub-Api-Version: 2022-11-28"
14- # "https://api.github.com/repos/psycopg/psycopg /actions/caches?key=libpq-manylinux-ppc64le-17.2-3.4.0"
14+ # "https://api.github.com/repos/gaussdb/gaussdb /actions/caches?key=libpq-manylinux-ppc64le-17.2-3.4.0"
1515#
1616# ref: https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28#delete-github-actions-caches-for-a-repository-using-a-cache-key
1717
1818on :
1919 workflow_dispatch :
20- pull_request :
21- paths :
22- - ' .github/workflows/packages-bin.yml'
23- schedule :
24- - cron : ' 28 7 * * sun'
20+ # pull_request:
21+ # paths:
22+ # - '.github/workflows/packages-bin.yml'
23+ # schedule:
24+ # - cron: '28 7 * * sun'
2525
2626env :
2727 # Latest release: https://www.postgresql.org/ftp/source/
7070 - name : Build wheels
7171 uses : pypa/cibuildwheel@v2.23.2
7272 with :
73- package-dir : psycopg_binary
73+ package-dir : gaussdb_binary
7474 env :
7575 CIBW_MANYLINUX_X86_64_IMAGE : manylinux2014
7676 CIBW_MANYLINUX_I686_IMAGE : manylinux2014
@@ -82,19 +82,19 @@ jobs:
8282 CIBW_REPAIR_WHEEL_COMMAND : >-
8383 ./tools/ci/strip_wheel.sh {wheel}
8484 && auditwheel repair -w {dest_dir} {wheel}
85- CIBW_TEST_REQUIRES : ./psycopg [test] ./psycopg_pool
85+ CIBW_TEST_REQUIRES : ./gaussdb [test] ./gaussdb_pool
8686 CIBW_TEST_COMMAND : >-
8787 pytest {project}/tests -m 'not slow and not flakey' --color yes
8888 CIBW_ENVIRONMENT_PASS_LINUX : LIBPQ_VERSION OPENSSL_VERSION
8989 CIBW_ENVIRONMENT : >-
90- PSYCOPG_IMPL =binary
91- PSYCOPG_TEST_DSN ='host=172.17.0.1 user=postgres'
90+ GAUSSDB_IMPL =binary
91+ GAUSSDB_TEST_DSN ='host=172.17.0.1 user=postgres'
9292 PGPASSWORD=password
9393 LIBPQ_BUILD_PREFIX=/host/tmp/libpq.build
9494 PATH="$LIBPQ_BUILD_PREFIX/bin:$PATH"
9595 LD_LIBRARY_PATH="$LIBPQ_BUILD_PREFIX/lib:$LIBPQ_BUILD_PREFIX/lib64"
96- PSYCOPG_TEST_WANT_LIBPQ_BUILD =${{ env.LIBPQ_VERSION }}
97- PSYCOPG_TEST_WANT_LIBPQ_IMPORT =${{ env.LIBPQ_VERSION }}
96+ GAUSSDB_TEST_WANT_LIBPQ_BUILD =${{ env.LIBPQ_VERSION }}
97+ GAUSSDB_TEST_WANT_LIBPQ_IMPORT =${{ env.LIBPQ_VERSION }}
9898
9999 - uses : actions/upload-artifact@v4
100100 with :
@@ -144,23 +144,23 @@ jobs:
144144 - name : Build wheels
145145 uses : pypa/cibuildwheel@v2.23.2
146146 with :
147- package-dir : psycopg_binary
147+ package-dir : gaussdb_binary
148148 env :
149149 CIBW_BUILD : ${{matrix.pyver}}-macosx_${{matrix.arch}}
150150 CIBW_ARCHS_MACOS : ${{matrix.arch}}
151151 MACOSX_ARCHITECTURE : ${{matrix.arch}}
152152 CIBW_BEFORE_ALL_MACOS : ./tools/ci/wheel_macos_before_all.sh
153- CIBW_TEST_REQUIRES : ./psycopg [test] ./psycopg_pool
153+ CIBW_TEST_REQUIRES : ./gaussdb [test] ./gaussdb_pool
154154 CIBW_TEST_COMMAND : >-
155155 pytest {project}/tests -m 'not slow and not flakey' --color yes
156156 CIBW_ENVIRONMENT : >-
157157 PG_VERSION=17
158- PSYCOPG_IMPL =binary
159- PSYCOPG_TEST_DSN ='dbname=postgres'
158+ GAUSSDB_IMPL =binary
159+ GAUSSDB_TEST_DSN ='dbname=postgres'
160160 LIBPQ_BUILD_PREFIX=/tmp/libpq.build
161161 PATH="$LIBPQ_BUILD_PREFIX/bin:$PATH"
162- PSYCOPG_TEST_WANT_LIBPQ_BUILD =">= ${{env.LIBPQ_VERSION}}"
163- PSYCOPG_TEST_WANT_LIBPQ_IMPORT =">= ${{env.LIBPQ_VERSION}}"
162+ GAUSSDB_TEST_WANT_LIBPQ_BUILD =">= ${{env.LIBPQ_VERSION}}"
163+ GAUSSDB_TEST_WANT_LIBPQ_IMPORT =">= ${{env.LIBPQ_VERSION}}"
164164
165165 - name : Upload artifacts
166166 uses : actions/upload-artifact@v4
@@ -212,7 +212,7 @@ jobs:
212212 - name : Build wheels
213213 uses : pypa/cibuildwheel@v2.23.2
214214 with :
215- package-dir : psycopg_binary
215+ package-dir : gaussdb_binary
216216 env :
217217 VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite" # cache vcpkg
218218 CIBW_BUILD : ${{matrix.pyver}}-${{matrix.arch}}
@@ -222,14 +222,14 @@ jobs:
222222 delvewheel repair -w {dest_dir}
223223 --add-path="${{ steps.libdir.outputs.EXTRA_LIB_DIR }}"
224224 --no-mangle "libiconv-2.dll;libwinpthread-1.dll" {wheel}
225- CIBW_TEST_REQUIRES : ./psycopg [test] ./psycopg_pool
225+ CIBW_TEST_REQUIRES : ./gaussdb [test] ./gaussdb_pool
226226 CIBW_TEST_COMMAND : >-
227227 pytest {project}/tests -m "not slow and not flakey" --color yes
228228 CIBW_ENVIRONMENT_WINDOWS : >-
229- PSYCOPG_IMPL =binary
230- PSYCOPG_TEST_DSN ="host=127.0.0.1 user=postgres"
231- PSYCOPG_TEST_WANT_LIBPQ_BUILD =${{env.LIBPQ_VERSION}}
232- PSYCOPG_TEST_WANT_LIBPQ_IMPORT =${{env.LIBPQ_VERSION}}
229+ GAUSSDB_IMPL =binary
230+ GAUSSDB_TEST_DSN ="host=127.0.0.1 user=postgres"
231+ GAUSSDB_TEST_WANT_LIBPQ_BUILD =${{env.LIBPQ_VERSION}}
232+ GAUSSDB_TEST_WANT_LIBPQ_IMPORT =${{env.LIBPQ_VERSION}}
233233
234234 - uses : actions/upload-artifact@v4
235235 with :
@@ -249,7 +249,7 @@ jobs:
249249 - name : Merge Artifacts
250250 uses : actions/upload-artifact/merge@v4
251251 with :
252- name : psycopg -binary-artifact
252+ name : gaussdb -binary-artifact
253253 delete-merged : true
254254
255255 # }}}
0 commit comments