diff options
author | Anatol Belski <ab@php.net> | 2017-03-23 19:26:30 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2017-03-23 19:27:10 +0100 |
commit | 0f6232675d6607e7f61182ec0b93fc3092feead8 (patch) | |
tree | 3cab9ba9755a4b51cafff9cfa32759b9bae290ab /appveyor | |
parent | 1b565f1393f82e0ce0c94806cc7f52c6d9c5e87d (diff) | |
download | php-git-0f6232675d6607e7f61182ec0b93fc3092feead8.tar.gz |
parametrize crt, so only one place has to be changed
Diffstat (limited to 'appveyor')
-rw-r--r-- | appveyor/build.bat | 2 | ||||
-rw-r--r-- | appveyor/build_task.bat | 2 | ||||
-rw-r--r-- | appveyor/test.bat | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/appveyor/build.bat b/appveyor/build.bat index 357fecfffa..eecfddaa9f 100644 --- a/appveyor/build.bat +++ b/appveyor/build.bat @@ -23,7 +23,7 @@ if not exist "%PHP_BUILD_CACHE_SDK_DIR%" ( git --git-dir="%PHP_BUILD_CACHE_SDK_DIR%\.git" --work-tree="%PHP_BUILD_CACHE_SDK_DIR%" checkout --force %SDK_BRANCH% ) -set SDK_RUNNER=%PHP_BUILD_CACHE_SDK_DIR%\phpsdk-vc15-%PLATFORM%.bat +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 exit /b 3 diff --git a/appveyor/build_task.bat b/appveyor/build_task.bat index 5ed7117462..e44eb7628f 100644 --- a/appveyor/build_task.bat +++ b/appveyor/build_task.bat @@ -20,7 +20,7 @@ if /i "%APPVEYOR_REPO_BRANCH:~0,4%" equ "php-" ( set DEPS_DIR=%PHP_BUILD_CACHE_BASE_DIR%\deps-%BRANCH%-%PHP_SDK_VC%-%PHP_SDK_ARCH% rem SDK is cached, deps info is cached as well echo Updating dependencies in %DEPS_DIR% -call phpsdk_deps --update --branch %BRANCH% --stability %STABILITY% --deps %DEPS_DIR% --crt vc15 +call phpsdk_deps --update --branch %BRANCH% --stability %STABILITY% --deps %DEPS_DIR% --crt %PHP_BUILD_CRT% if %errorlevel% neq 0 exit /b 3 call buildconf.bat --force diff --git a/appveyor/test.bat b/appveyor/test.bat index 8fb039dba9..ec4b730913 100644 --- a/appveyor/test.bat +++ b/appveyor/test.bat @@ -1,6 +1,6 @@ @echo off -set SDK_RUNNER=%PHP_BUILD_CACHE_SDK_DIR%\phpsdk-vc15-%PLATFORM%.bat +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 exit /b 3 |