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:
committed by
Ilija Tovilo
parent
471105abd7
commit
f42e56286a
5
.github/scripts/windows/build.bat
vendored
5
.github/scripts/windows/build.bat
vendored
@@ -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
|
||||
|
||||
5
.github/scripts/windows/build_task.bat
vendored
5
.github/scripts/windows/build_task.bat
vendored
@@ -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
|
||||
|
||||
5
.github/scripts/windows/test.bat
vendored
5
.github/scripts/windows/test.bat
vendored
@@ -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
|
||||
|
||||
7
.github/scripts/windows/test_task.bat
vendored
7
.github/scripts/windows/test_task.bat
vendored
@@ -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%
|
||||
|
||||
|
||||
Reference in New Issue
Block a user