Skip to content

Commit

Permalink
Moving extra_install_step to after stuart_setup and stuart_update to …
Browse files Browse the repository at this point in the history
…expand using extra_install_steps
  • Loading branch information
apop5 committed Jan 11, 2024
1 parent 0daa8c1 commit 9cf4657
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Steps/PrGate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,6 @@ steps:
- ${{ if eq(parameters.install_tools, true) }}:
- template: InstallCoverageTools.yml

# Potential Extra steps
- ${{ if eq(parameters.self_host_agent, false) }}:
- ${{ parameters.extra_install_step }}
- ${{ else }}:
- bash: echo "##[warning]A self-hosted agent build requested extra install steps. Those are not supported right now."

# Build repo
- ${{ if eq(parameters.do_ci_setup, true) }}:
- task: CmdLine@2
Expand All @@ -150,6 +144,12 @@ steps:
script: stuart_update -c ${{ parameters.build_file }} -p $(pkgs_to_build) -t ${{ parameters.build_targets}} -a ${{ parameters.build_archs}} TOOL_CHAIN_TAG=${{ parameters.tool_chain_tag}}
condition: and(gt(variables.pkg_count, 0), succeeded())

# Potential Extra steps
- ${{ if eq(parameters.self_host_agent, false) }}:
- ${{ parameters.extra_install_step }}
- ${{ else }}:
- bash: echo "##[warning]A self-hosted agent build requested extra install steps. Those are not supported right now."

- ${{ if eq(parameters.do_non_ci_build, true) }}:
- task: CmdLine@2
displayName: Build and Test ${{ parameters.build_pkgs }} ${{ parameters.build_archs}}
Expand Down

0 comments on commit 9cf4657

Please sign in to comment.