Merge nightly and release behavior into one conditional script
PiperOrigin-RevId: 336167751 Change-Id: I72c10881197a27f6c928770cd6bff8361ba1befd
This commit is contained in:
parent
42c6cc5780
commit
3a35f1311d
@ -17,4 +17,8 @@ SET PYTHON_DIRECTORY=Python35
|
|||||||
|
|
||||||
CALL tensorflow\tools\ci_build\release\common_win.bat
|
CALL tensorflow\tools\ci_build\release\common_win.bat
|
||||||
|
|
||||||
call tensorflow\tools\ci_build\windows\cpu\pip\run.bat --release_build --extra_test_flags "--test_env=TF2_BEHAVIOR=1" --project_name "tensorflow_cpu"
|
if "%IS_NIGHTLY%" == "1" (
|
||||||
|
call tensorflow\tools\ci_build\windows\cpu\pip\run.bat --extra_test_flags "--test_env=TF2_BEHAVIOR=1"
|
||||||
|
) else (
|
||||||
|
call tensorflow\tools\ci_build\windows\cpu\pip\run.bat --release_build --extra_test_flags "--test_env=TF2_BEHAVIOR=1" --project_name "tensorflow_cpu"
|
||||||
|
)
|
||||||
|
@ -17,4 +17,8 @@ SET PYTHON_DIRECTORY=Python36
|
|||||||
|
|
||||||
CALL tensorflow\tools\ci_build\release\common_win.bat
|
CALL tensorflow\tools\ci_build\release\common_win.bat
|
||||||
|
|
||||||
call tensorflow\tools\ci_build\windows\cpu\pip\run.bat --release_build --extra_test_flags "--test_env=TF2_BEHAVIOR=1" --project_name "tensorflow_cpu"
|
if "%IS_NIGHTLY%" == "1" (
|
||||||
|
call tensorflow\tools\ci_build\windows\cpu\pip\run.bat --extra_test_flags "--test_env=TF2_BEHAVIOR=1"
|
||||||
|
) else (
|
||||||
|
call tensorflow\tools\ci_build\windows\cpu\pip\run.bat --release_build --extra_test_flags "--test_env=TF2_BEHAVIOR=1" --project_name "tensorflow_cpu"
|
||||||
|
)
|
||||||
|
@ -17,4 +17,8 @@ SET PYTHON_DIRECTORY=Python37
|
|||||||
|
|
||||||
CALL tensorflow\tools\ci_build\release\common_win.bat
|
CALL tensorflow\tools\ci_build\release\common_win.bat
|
||||||
|
|
||||||
call tensorflow\tools\ci_build\windows\cpu\pip\run.bat --release_build --extra_test_flags "--test_env=TF2_BEHAVIOR=1" --project_name "tensorflow_cpu"
|
if "%IS_NIGHTLY%" == "1" (
|
||||||
|
call tensorflow\tools\ci_build\windows\cpu\pip\run.bat --extra_test_flags "--test_env=TF2_BEHAVIOR=1"
|
||||||
|
) else (
|
||||||
|
call tensorflow\tools\ci_build\windows\cpu\pip\run.bat --release_build --extra_test_flags "--test_env=TF2_BEHAVIOR=1" --project_name "tensorflow_cpu"
|
||||||
|
)
|
||||||
|
@ -17,5 +17,8 @@ SET PYTHON_DIRECTORY=Python38
|
|||||||
|
|
||||||
CALL tensorflow\tools\ci_build\release\common_win.bat
|
CALL tensorflow\tools\ci_build\release\common_win.bat
|
||||||
|
|
||||||
call tensorflow\tools\ci_build\windows\cpu\pip\run.bat --release_build --extra_test_flags "--test_env=TF2_BEHAVIOR=1" --project_name "tensorflow_cpu"
|
if "%IS_NIGHTLY%" == "1" (
|
||||||
|
call tensorflow\tools\ci_build\windows\cpu\pip\run.bat --extra_test_flags "--test_env=TF2_BEHAVIOR=1"
|
||||||
|
) else (
|
||||||
|
call tensorflow\tools\ci_build\windows\cpu\pip\run.bat --release_build --extra_test_flags "--test_env=TF2_BEHAVIOR=1" --project_name "tensorflow_cpu"
|
||||||
|
)
|
||||||
|
@ -17,7 +17,10 @@ SET PYTHON_DIRECTORY=Python35
|
|||||||
|
|
||||||
CALL tensorflow\tools\ci_build\release\common_win.bat
|
CALL tensorflow\tools\ci_build\release\common_win.bat
|
||||||
|
|
||||||
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --release_build --extra_test_flags "--test_env=TF2_BEHAVIOR=1" --project_name "tensorflow"
|
if "%IS_NIGHTLY%" == "1" (
|
||||||
|
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --extra_test_flags "--test_env=TF2_BEHAVIOR=1"
|
||||||
for %%a in ("%~dp0\.") do set "PARENT_DIR=%%~nxa"
|
) else (
|
||||||
bash -l tensorflow\tools\ci_build\release\windows\%PARENT_DIR%\release_pip_rename.sh
|
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --release_build --extra_test_flags "--test_env=TF2_BEHAVIOR=1" --project_name "tensorflow"
|
||||||
|
for %%a in ("%~dp0\.") do set "PARENT_DIR=%%~nxa"
|
||||||
|
bash -l tensorflow\tools\ci_build\release\windows\%PARENT_DIR%\release_pip_rename.sh
|
||||||
|
)
|
||||||
|
@ -17,7 +17,10 @@ SET PYTHON_DIRECTORY=Python36
|
|||||||
|
|
||||||
CALL tensorflow\tools\ci_build\release\common_win.bat
|
CALL tensorflow\tools\ci_build\release\common_win.bat
|
||||||
|
|
||||||
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --release_build --extra_test_flags "--test_env=TF2_BEHAVIOR=1" --project_name "tensorflow"
|
if "%IS_NIGHTLY%" == "1" (
|
||||||
|
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --extra_test_flags "--test_env=TF2_BEHAVIOR=1"
|
||||||
for %%a in ("%~dp0\.") do set "PARENT_DIR=%%~nxa"
|
) else (
|
||||||
bash -l tensorflow\tools\ci_build\release\windows\%PARENT_DIR%\release_pip_rename.sh
|
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --release_build --extra_test_flags "--test_env=TF2_BEHAVIOR=1" --project_name "tensorflow"
|
||||||
|
for %%a in ("%~dp0\.") do set "PARENT_DIR=%%~nxa"
|
||||||
|
bash -l tensorflow\tools\ci_build\release\windows\%PARENT_DIR%\release_pip_rename.sh
|
||||||
|
)
|
||||||
|
@ -17,7 +17,10 @@ SET PYTHON_DIRECTORY=Python37
|
|||||||
|
|
||||||
CALL tensorflow\tools\ci_build\release\common_win.bat
|
CALL tensorflow\tools\ci_build\release\common_win.bat
|
||||||
|
|
||||||
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --release_build --extra_test_flags "--test_env=TF2_BEHAVIOR=1" --project_name "tensorflow"
|
if "%IS_NIGHTLY%" == "1" (
|
||||||
|
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --extra_test_flags "--test_env=TF2_BEHAVIOR=1"
|
||||||
for %%a in ("%~dp0\.") do set "PARENT_DIR=%%~nxa"
|
) else (
|
||||||
bash -l tensorflow\tools\ci_build\release\windows\%PARENT_DIR%\release_pip_rename.sh
|
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --release_build --extra_test_flags "--test_env=TF2_BEHAVIOR=1" --project_name "tensorflow"
|
||||||
|
for %%a in ("%~dp0\.") do set "PARENT_DIR=%%~nxa"
|
||||||
|
bash -l tensorflow\tools\ci_build\release\windows\%PARENT_DIR%\release_pip_rename.sh
|
||||||
|
)
|
||||||
|
@ -17,7 +17,10 @@ SET PYTHON_DIRECTORY=Python38
|
|||||||
|
|
||||||
CALL tensorflow\tools\ci_build\release\common_win.bat
|
CALL tensorflow\tools\ci_build\release\common_win.bat
|
||||||
|
|
||||||
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --release_build --extra_test_flags "--test_env=TF2_BEHAVIOR=1" --project_name "tensorflow"
|
if "%IS_NIGHTLY%" == "1" (
|
||||||
|
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --extra_test_flags "--test_env=TF2_BEHAVIOR=1"
|
||||||
for %%a in ("%~dp0\.") do set "PARENT_DIR=%%~nxa"
|
) else (
|
||||||
bash -l tensorflow\tools\ci_build\release\windows\%PARENT_DIR%\release_pip_rename.sh
|
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --release_build --extra_test_flags "--test_env=TF2_BEHAVIOR=1" --project_name "tensorflow"
|
||||||
|
for %%a in ("%~dp0\.") do set "PARENT_DIR=%%~nxa"
|
||||||
|
bash -l tensorflow\tools\ci_build\release\windows\%PARENT_DIR%\release_pip_rename.sh
|
||||||
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user