未验证 提交 5c9bd0bf 编写于 作者: Z Zhou Wei 提交者: GitHub

print whether has build cache (#29035)

上级 79e60867
...@@ -92,7 +92,10 @@ if %ERRORLEVEL% EQU 0 ( ...@@ -92,7 +92,10 @@ if %ERRORLEVEL% EQU 0 (
:mkbuild :mkbuild
if not exist build ( if not exist build (
echo Windows build cache FALSE
mkdir build mkdir build
) else (
echo Windows build cache TRUE
) )
cd /d build cd /d build
dir . dir .
...@@ -282,6 +285,8 @@ if %ERRORLEVEL% NEQ 0 ( ...@@ -282,6 +285,8 @@ if %ERRORLEVEL% NEQ 0 (
) )
echo Build Paddle successfully! echo Build Paddle successfully!
echo 0 > %cache_dir%\error_code.txt
type %cache_dir%\error_code.txt
goto:eof goto:eof
...@@ -624,8 +629,6 @@ taskkill /f /im cvtres.exe 2>NUL ...@@ -624,8 +629,6 @@ taskkill /f /im cvtres.exe 2>NUL
taskkill /f /im rc.exe 2>NUL taskkill /f /im rc.exe 2>NUL
wmic process where name="op_function_generator.exe" call terminate 2>NUL wmic process where name="op_function_generator.exe" call terminate 2>NUL
taskkill /f /im python.exe 2>NUL taskkill /f /im python.exe 2>NUL
echo 0 > %cache_dir%\error_code.txt
type %cache_dir%\error_code.txt
echo Windows CI run successfully! echo Windows CI run successfully!
exit /b 0 exit /b 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册