From 779c7cec30ba5767da17b578809523f6be8c0355 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Wed, 23 Jul 2025 01:32:42 +0800 Subject: [PATCH] test pgsql --- config/lib.json | 6 ++---- src/globals/test-extensions.php | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/config/lib.json b/config/lib.json index b46b2735..4bb73100 100644 --- a/config/lib.json +++ b/config/lib.json @@ -752,10 +752,8 @@ }, "postgresql": { "source": "postgresql", - "static-libs-unix": [ - "libpq.a", - "libpgport.a", - "libpgcommon.a" + "pkg-configs": [ + "libpq" ], "lib-depends": [ "libiconv", diff --git a/src/globals/test-extensions.php b/src/globals/test-extensions.php index 50e0fc9e..e7fcbb51 100644 --- a/src/globals/test-extensions.php +++ b/src/globals/test-extensions.php @@ -24,7 +24,7 @@ $test_os = [ // 'macos-13', // bin/spc for x86_64 // 'macos-14', // bin/spc for arm64 // 'macos-15', // bin/spc for arm64 - // 'ubuntu-latest', // bin/spc-alpine-docker for x86_64 + 'ubuntu-latest', // bin/spc-alpine-docker for x86_64 // 'ubuntu-22.04', // bin/spc-gnu-docker for x86_64 'ubuntu-24.04', // bin/spc for x86_64 // 'ubuntu-22.04-arm', // bin/spc-gnu-docker for arm64 @@ -48,7 +48,7 @@ $prefer_pre_built = false; // If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`). $extensions = match (PHP_OS_FAMILY) { - 'Linux', 'Darwin' => 'bcmath', + 'Linux', 'Darwin' => 'pgsql,pdo_pgsql', 'Windows' => 'intl', };