From a6c5b914abcea0dd44619fa32ca0a12554277247 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Mon, 11 Jul 2022 20:03:47 +0200 Subject: [PATCH] [devops] Enable verbose build. (#15366) * [devops] Enable verbose build. * Allow to set the build in verbose when the pipeline is in debug mode. Co-authored-by: Manuel de la Pena --- tools/devops/automation/templates/build/build.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tools/devops/automation/templates/build/build.yml b/tools/devops/automation/templates/build/build.yml index a16795bb5c..a0d6681429 100644 --- a/tools/devops/automation/templates/build/build.yml +++ b/tools/devops/automation/templates/build/build.yml @@ -246,15 +246,21 @@ steps: set -e echo "##vso[task.setvariable variable=TESTS_BOT;isOutput=true]$AGENT_NAME" time make -C $(Build.SourcesDirectory)/xamarin-macios/ reset - time make -C $(Build.SourcesDirectory)/xamarin-macios/ all -j8 - time make -C $(Build.SourcesDirectory)/xamarin-macios/ install -j8 + MAKE_FLAGS="" + + if [[ "$SYSTEM_DEBUG" == "true" ]]; then + MAKE_FLAGS="V=1 -w" + fi + + time make -C $(Build.SourcesDirectory)/xamarin-macios/ all -j8 $MAKE_FLAGS + time make -C $(Build.SourcesDirectory)/xamarin-macios/ install -j8 $MAKE_FLAGS name: build displayName: 'Build' timeoutInMinutes: 300 - ${{ each step in parameters.buildSteps }}: - ${{ each pair in step }}: - ${{ pair.key }}: ${{ pair.value }} + ${{ pair.key }}: ${{ pair.value }} # clean the bot after we use it - template: ../common/teardown.yml