Skip to content

Commit b41d715

Browse files
committed
Merge branch 'PHP-7.1'
* PHP-7.1: Guard against AppVeyor losing deps issue
2 parents bfa3df0 + 91aad4b commit b41d715

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

appveyor/build_task.bat

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ echo Updating dependencies in %DEPS_DIR%
2222
cmd /c phpsdk_deps --update --no-backup --branch %BRANCH% --stability %STABILITY% --deps %DEPS_DIR% --crt %PHP_BUILD_CRT%
2323
if %errorlevel% neq 0 exit /b 3
2424

25+
rem Something went wrong, most likely when concurrent builds were to fetch deps
26+
rem updates. It might be, that some locking mechanism is needed.
27+
if not exist "%DEPS_DIR%" (
28+
cmd /c phpsdk_deps --update --force --no-backup --branch %BRANCH% --stability %STABILITY% --deps %DEPS_DIR%
29+
)
30+
if %errorlevel% neq 0 exit /b 3
31+
2532
cmd /c buildconf.bat --force
2633
if %errorlevel% neq 0 exit /b 3
2734

0 commit comments

Comments
 (0)