Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
bebound committed Oct 16, 2024
1 parent 256e9fd commit 3995731
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions build_scripts/windows/scripts/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3995731

Please sign in to comment.