arguments: -c .pytool/CISettings.py -p ${{ parameters.build_pkgs }} --pr-target origin/$(System.PullRequest.targetBranch) --output-csv-format-string "##vso[task.setvariable variable=pkgs_to_build;isOutpout=true]{pkgcsv}" --output-count-format-string "##vso[task.setvariable variable=pkg_count;isOutpout=true]{pkgcount}"\r
condition: eq(variables['Build.Reason'], 'PullRequest')\r
\r
-# build basetools\r
-- template: basetools-build-steps.yml\r
- parameters:\r
- tool_chain_tag: ${{ parameters.tool_chain_tag }}\r
-\r
# install spell check prereqs\r
- template: spell-check-prereq-steps.yml\r
\r
arguments: -c .pytool/CISettings.py -p $(pkgs_to_build) -t ${{ parameters.build_targets}} -a ${{ parameters.build_archs}} TOOL_CHAIN_TAG=${{ parameters.tool_chain_tag}}\r
condition: and(gt(variables.pkg_count, 0), succeeded())\r
\r
+# build basetools\r
+# do this after setup and update so that code base dependencies\r
+# are all resolved.\r
+- template: basetools-build-steps.yml\r
+ parameters:\r
+ tool_chain_tag: ${{ parameters.tool_chain_tag }}\r
+\r
- task: CmdLine@1\r
displayName: Build and Test ${{ parameters.build_pkgs }} ${{ parameters.build_archs}}\r
inputs:\r