mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Merge branch 'PHP-8.2'
* PHP-8.2: Retire AppVeyor
This commit is contained in:
commit
dde1d9e102
9 changed files with 8 additions and 104 deletions
2
.github/scripts/windows/build.bat
vendored
2
.github/scripts/windows/build.bat
vendored
|
@ -1,6 +1,6 @@
|
|||
@echo off
|
||||
|
||||
if /i "%APPVEYOR%%GITHUB_ACTIONS%" neq "True" (
|
||||
if /i "%GITHUB_ACTIONS%" neq "True" (
|
||||
echo for CI only
|
||||
exit /b 3
|
||||
)
|
||||
|
|
20
.github/scripts/windows/build_task.bat
vendored
20
.github/scripts/windows/build_task.bat
vendored
|
@ -1,28 +1,10 @@
|
|||
@echo off
|
||||
|
||||
if /i "%APPVEYOR%%GITHUB_ACTIONS%" neq "True" (
|
||||
if /i "%GITHUB_ACTIONS%" neq "True" (
|
||||
echo for CI only
|
||||
exit /b 3
|
||||
)
|
||||
|
||||
if "%APPVEYOR%" equ "True" rmdir /s /q C:\cygwin >NUL 2>NUL
|
||||
if %errorlevel% neq 0 exit /b 3
|
||||
if "%APPVEYOR%" equ "True" rmdir /s /q C:\cygwin64 >NUL 2>NUL
|
||||
if %errorlevel% neq 0 exit /b 3
|
||||
if "%APPVEYOR%" equ "True" rmdir /s /q C:\mingw >NUL 2>NUL
|
||||
if %errorlevel% neq 0 exit /b 3
|
||||
if "%APPVEYOR%" equ "True" rmdir /s /q C:\mingw-w64 >NUL 2>NUL
|
||||
if %errorlevel% neq 0 exit /b 3
|
||||
if "%APPVEYOR%" equ "True" rmdir /s /q C:\msys64 >NUL 2>NUL
|
||||
if %errorlevel% neq 0 exit /b 3
|
||||
if "%APPVEYOR%" equ "True" rmdir /s /q c:\OpenSSL-Win32 >NUL 2>NUL
|
||||
if %errorlevel% neq 0 exit /b 3
|
||||
if "%APPVEYOR%" equ "True" rmdir /s /q c:\OpenSSL-Win64 >NUL 2>NUL
|
||||
if %errorlevel% neq 0 exit /b 3
|
||||
if "%APPVEYOR%" equ "True" rmdir /s /q c:\OpenSSL-v11-Win32 >NUL 2>NUL
|
||||
if %errorlevel% neq 0 exit /b 3
|
||||
if "%APPVEYOR%" equ "True" rmdir /s /q c:\OpenSSL-v11-Win64 >NUL 2>NUL
|
||||
if %errorlevel% neq 0 exit /b 3
|
||||
del /f /q C:\Windows\System32\libcrypto-1_1-x64.dll >NUL 2>NUL
|
||||
if %errorlevel% neq 0 exit /b 3
|
||||
del /f /q C:\Windows\System32\libssl-1_1-x64.dll >NUL 2>NUL
|
||||
|
|
2
.github/scripts/windows/test.bat
vendored
2
.github/scripts/windows/test.bat
vendored
|
@ -1,6 +1,6 @@
|
|||
@echo off
|
||||
|
||||
if /i "%APPVEYOR%%GITHUB_ACTIONS%" neq "True" (
|
||||
if /i "%GITHUB_ACTIONS%" neq "True" (
|
||||
echo for CI only
|
||||
exit /b 3
|
||||
)
|
||||
|
|
27
.github/scripts/windows/test_task.bat
vendored
27
.github/scripts/windows/test_task.bat
vendored
|
@ -1,6 +1,6 @@
|
|||
@echo off
|
||||
|
||||
if /i "%APPVEYOR%%GITHUB_ACTIONS%" neq "True" (
|
||||
if /i "%GITHUB_ACTIONS%" neq "True" (
|
||||
echo for CI only
|
||||
exit /b 3
|
||||
)
|
||||
|
@ -32,11 +32,7 @@ set PDO_MYSQL_TEST_PASS=%MYSQL_PWD%
|
|||
set PDO_MYSQL_TEST_HOST=%MYSQL_TEST_HOST%
|
||||
set PDO_MYSQL_TEST_PORT=%MYSQL_TEST_PORT%
|
||||
set PDO_MYSQL_TEST_DSN=mysql:host=%PDO_MYSQL_TEST_HOST%;port=%PDO_MYSQL_TEST_PORT%;dbname=test
|
||||
if /i "%APPVEYOR%" equ "True" (
|
||||
set TMP_MYSQL_BIN=%ProgramFiles%\MySql\MySQL Server 5.7\bin
|
||||
) else (
|
||||
set TMP_MYSQL_BIN=C:\mysql\bin
|
||||
)
|
||||
set TMP_MYSQL_BIN=C:\mysql\bin
|
||||
"%TMP_MYSQL_BIN%\mysql.exe" --host=%PDO_MYSQL_TEST_HOST% --port=%MYSQL_TEST_PORT% --user=%MYSQL_TEST_USER% --password=%MYSQL_TEST_PASSWD% -e "CREATE DATABASE IF NOT EXISTS test"
|
||||
if %errorlevel% neq 0 exit /b 3
|
||||
|
||||
|
@ -46,22 +42,14 @@ set PGPASSWORD=Password12!
|
|||
rem set PGSQL_TEST_CONNSTR=host=127.0.0.1 dbname=test port=5432 user=postgres password=Password12!
|
||||
echo ^<?php $conn_str = "host=127.0.0.1 dbname=test port=5432 user=%PGUSER% password=%PGPASSWORD%"; ?^> >> "./ext/pgsql/tests/config.inc"
|
||||
set PDO_PGSQL_TEST_DSN=pgsql:host=127.0.0.1 port=5432 dbname=test user=%PGUSER% password=%PGPASSWORD%
|
||||
if /i "%APPVEYOR%" equ "True" (
|
||||
set TMP_POSTGRESQL_BIN=%ProgramFiles%\PostgreSQL\10\bin
|
||||
) else (
|
||||
set TMP_POSTGRESQL_BIN=%PGBIN%
|
||||
)
|
||||
set TMP_POSTGRESQL_BIN=%PGBIN%
|
||||
"%TMP_POSTGRESQL_BIN%\createdb.exe" test
|
||||
if %errorlevel% neq 0 exit /b 3
|
||||
|
||||
rem setup ODBC related exts
|
||||
set ODBC_TEST_USER=sa
|
||||
set ODBC_TEST_PASS=Password12!
|
||||
if /i "%APPVEYOR%" equ "True" (
|
||||
set ODBC_TEST_DSN=Driver={ODBC Driver 13 for SQL Server};Server=^(local^)\SQL2017;Database=master;uid=%ODBC_TEST_USER%;pwd=%ODBC_TEST_PASS%
|
||||
) else (
|
||||
set ODBC_TEST_DSN=Driver={ODBC Driver 17 for SQL Server};Server=^(local^)\SQLEXPRESS;Database=master;uid=%ODBC_TEST_USER%;pwd=%ODBC_TEST_PASS%
|
||||
)
|
||||
set ODBC_TEST_DSN=Driver={ODBC Driver 17 for SQL Server};Server=^(local^)\SQLEXPRESS;Database=master;uid=%ODBC_TEST_USER%;pwd=%ODBC_TEST_PASS%
|
||||
set PDOTEST_DSN=odbc:%ODBC_TEST_DSN%
|
||||
|
||||
rem setup Firebird related exts
|
||||
|
@ -159,11 +147,4 @@ if %EXIT_CODE% GEQ 1 (
|
|||
git diff > bless_tests.patch
|
||||
)
|
||||
|
||||
if /i "%APPVEYOR%" equ "True" (
|
||||
appveyor PushArtifact %TEST_PHP_JUNIT%
|
||||
if %EXIT_CODE% GEQ 1 (
|
||||
appveyor PushArtifact bless_tests.patch
|
||||
)
|
||||
)
|
||||
|
||||
exit /b %EXIT_CODE%
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue