1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

Windows CI log verbosity, CI bat file guard

Closes GH-10817
This commit is contained in:
Michael Voříšek
2023-03-09 21:08:27 +01:00
committed by Ilija Tovilo
parent 471105abd7
commit f42e56286a
4 changed files with 21 additions and 1 deletions

View File

@@ -1,5 +1,10 @@
@echo off
if /i "%APPVEYOR%%GITHUB_ACTIONS%" neq "True" (
echo for CI only
exit /b 3
)
set SDK_REMOTE=https://github.com/php/php-sdk-binary-tools.git
set SDK_BRANCH=%PHP_BUILD_SDK_BRANCH%
set SDK_RUNNER=%PHP_BUILD_CACHE_SDK_DIR%\phpsdk-%PHP_BUILD_CRT%-%PLATFORM%.bat

View File

@@ -1,5 +1,10 @@
@echo off
if /i "%APPVEYOR%%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

View File

@@ -1,5 +1,10 @@
@echo off
if /i "%APPVEYOR%%GITHUB_ACTIONS%" neq "True" (
echo for CI only
exit /b 3
)
set SDK_RUNNER=%PHP_BUILD_CACHE_SDK_DIR%\phpsdk-%PHP_BUILD_CRT%-%PLATFORM%.bat
if not exist "%SDK_RUNNER%" (
echo "%SDK_RUNNER%" doesn't exist

View File

@@ -1,5 +1,10 @@
@echo off
if /i "%APPVEYOR%%GITHUB_ACTIONS%" neq "True" (
echo for CI only
exit /b 3
)
set NO_INTERACTION=1
set REPORT_EXIT_STATUS=1
set SKIP_IO_CAPTURE_TESTS=1
@@ -119,7 +124,7 @@ mkdir c:\tests_tmp
set TEST_PHP_JUNIT=c:\junit.out.xml
nmake test TESTS="%OPCACHE_OPTS% -q --offline --show-diff --show-slow 1000 --set-timeout 120 --temp-source c:\tests_tmp --temp-target c:\tests_tmp --bless %PARALLEL%"
nmake test TESTS="%OPCACHE_OPTS% -g FAIL,XFAIL,BORK,WARN,LEAK,XLEAK,SKIP -q --offline --show-diff --show-slow 1000 --set-timeout 120 --temp-source c:\tests_tmp --temp-target c:\tests_tmp --bless %PARALLEL%"
set EXIT_CODE=%errorlevel%