Print debug info about prepare_build_windows.bat timing (#28872)

* prepare build windows timing

* C# deps not need to be installed for C# native artifact on win
pull/29039/head
Jan Tattermusch 3 years ago committed by GitHub
parent 5b603fe55b
commit 8024eed4c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      tools/internal_ci/helper_scripts/prepare_build_windows.bat
  2. 1
      tools/internal_ci/windows/grpc_build_artifacts.bat

@ -12,6 +12,9 @@
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem allow timing of how long the script takes to run.
echo "!TIME!: prepare_build_windows.bat started"
@rem make sure msys binaries are preferred over cygwin binaries
@rem set path to python3.7
@rem set path to CMake
@ -62,7 +65,8 @@ set DOTNET_CLI_TELEMETRY_OPTOUT=true
@rem Only install Python interpreters if we are running Python tests
If "%PREPARE_BUILD_INSTALL_DEPS_PYTHON%" == "true" (
powershell -File tools\internal_ci\helper_scripts\install_python_interpreters.ps1 || goto :error
echo "!TIME!: invoking install_python_interpreters.ps1"
powershell -File tools\internal_ci\helper_scripts\install_python_interpreters.ps1 || goto :error
)
@rem Needed for uploading test results to bigquery
@ -70,7 +74,9 @@ python -m pip install google-api-python-client oauth2client six==1.16.0 || goto
git submodule update --init || goto :error
echo "!TIME!: prepare_build_windows.bat exiting with success"
goto :EOF
:error
echo "!TIME!: prepare_build_windows.bat exiting with error"
exit /b 1

@ -25,7 +25,6 @@ endlocal
@rem enter repo root
cd /d %~dp0\..\..\..
set PREPARE_BUILD_INSTALL_DEPS_CSHARP=true
set PREPARE_BUILD_INSTALL_DEPS_PYTHON=true
call tools/internal_ci/helper_scripts/prepare_build_windows.bat || exit /b 1

Loading…
Cancel
Save