From 399573185d708992e73871255da54feae2ac9bc5 Mon Sep 17 00:00:00 2001 From: Hang Lei Date: Wed, 16 Oct 2024 15:29:44 +0800 Subject: [PATCH] Test --- build_scripts/windows/scripts/build.cmd | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/build_scripts/windows/scripts/build.cmd b/build_scripts/windows/scripts/build.cmd index 11b4c05879f..b75dcb72491 100644 --- a/build_scripts/windows/scripts/build.cmd +++ b/build_scripts/windows/scripts/build.cmd @@ -126,7 +126,7 @@ if not exist %PYTHON_DIR% ( REM setuptools is not installed by default in Python 3.12, but it is required by some dependencys REM See https://github.com/Azure/azure-cli/pull/27196 - echo Installing setuptools + echo Installing setuptools wheel %PYTHON_DIR%\python.exe -Im pip install setuptools wheel popd @@ -146,15 +146,20 @@ for %%a in (%CLI_SRC%\azure-cli %CLI_SRC%\azure-cli-core %CLI_SRC%\azure-cli-tel ) %BUILDING_DIR%\python.exe -Im pip install --no-warn-script-location --requirement %CLI_SRC%\azure-cli\requirements.py3.windows.txt +if %errorlevel% neq 0 goto ERROR +echo %BUILDING_DIR%\python.exe -Im pip list +%BUILDING_DIR%\python.exe -Im pip list +echo %BUILDING_DIR%\python.exe -m pip list +%BUILDING_DIR%\python.exe -m pip list echo run azure.cli REM Check azure.cli can be executed. This also prints the Python version. -%BUILDING_DIR%\python.exe -m azure.cli --version - +%BUILDING_DIR%\python.exe -Im azure.cli --version if %errorlevel% neq 0 goto ERROR + pushd %BUILDING_DIR% -%BUILDING_DIR%\python.exe %REPO_ROOT%\scripts\compact_aaz.py +%BUILDING_DIR%\python.exe -I %REPO_ROOT%\scripts\compact_aaz.py if %errorlevel% neq 0 goto ERROR %BUILDING_DIR%\python.exe %~dp0\patch_models_v2.py if %errorlevel% neq 0 goto ERROR