xref: /php-src/.github/scripts/windows/test.bat (revision b94ef611)
1if /i "%GITHUB_ACTIONS%" neq "True" (
2    echo for CI only
3    exit /b 3
4)
5
6set SDK_RUNNER=%PHP_BUILD_CACHE_SDK_DIR%\phpsdk-%PHP_BUILD_CRT%-%PLATFORM%.bat
7if not exist "%SDK_RUNNER%" (
8	echo "%SDK_RUNNER%" doesn't exist
9	exit /b 3
10)
11
12cmd /c %SDK_RUNNER% -t .github\scripts\windows\test_task.bat
13if %errorlevel% neq 0 exit /b 3
14
15exit /b 0
16