Skip to content

Commit 5c7c5d9

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Install 32bit Firebird server on x86
2 parents 526d858 + 424fb2c commit 5c7c5d9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/scripts/windows/test_task.bat

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,12 @@ set ODBC_TEST_DSN=Driver={ODBC Driver 17 for SQL Server};Server=^(local^)\SQLEXP
5050
set PDOTEST_DSN=odbc:%ODBC_TEST_DSN%
5151

5252
rem setup Firebird related exts
53-
curl -sLo Firebird.zip https://github.com/FirebirdSQL/firebird/releases/download/v4.0.4/Firebird-4.0.4.3010-0-x64.zip
53+
if "%PLATFORM%" == "x64" (
54+
set PHP_FIREBIRD_DOWNLOAD_URL=https://github.com/FirebirdSQL/firebird/releases/download/v4.0.4/Firebird-4.0.4.3010-0-x64.zip
55+
) else (
56+
set PHP_FIREBIRD_DOWNLOAD_URL=https://github.com/FirebirdSQL/firebird/releases/download/v4.0.4/Firebird-4.0.4.3010-0-Win32.zip
57+
)
58+
curl -sLo Firebird.zip %PHP_FIREBIRD_DOWNLOAD_URL%
5459
7z x -oC:\Firebird Firebird.zip
5560
set PDO_FIREBIRD_TEST_DATABASE=C:\test.fdb
5661
set PDO_FIREBIRD_TEST_DSN=firebird:dbname=%PDO_FIREBIRD_TEST_DATABASE%

0 commit comments

Comments
 (0)