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 ea25cd5
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 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,19 +146,24 @@ 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
%BUILDING_DIR%\python.exe -I %~dp0\patch_models_v2.py
if %errorlevel% neq 0 goto ERROR
%BUILDING_DIR%\python.exe %REPO_ROOT%\scripts\trim_sdk.py
%BUILDING_DIR%\python.exe -I %REPO_ROOT%\scripts\trim_sdk.py
if %errorlevel% neq 0 goto ERROR
popd

Expand Down

0 comments on commit ea25cd5

Please sign in to comment.