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