Skip to content

Commit 3c3e496

Browse files
committed
.sync/azure_pipelines/MuDevOpsWrapper.yml: Add extra_cargo_steps parameter
The `extra_cargo_steps` parameter allows a repo extending MuDevOpsWrapper.yml to specify a step list that should be executed before running the standard set of cargo commands in the repo (to build and test). Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
1 parent 69fcf3c commit 3c3e496

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.sync/azure_pipelines/MuDevOpsWrapper.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ parameters:
7373
displayName: Whether Rust code is being built
7474
type: boolean
7575
default: false
76+
- name: extra_cargo_steps
77+
displayName: Extra Steps to Run Before Standard Cargo Steps
78+
type: stepList
79+
default:
80+
- script: echo No extra cargo steps provided
7681

7782
jobs:
7883
- template: Jobs/PrGate.yml@mu_devops
@@ -110,6 +115,7 @@ jobs:
110115
- checkout: self
111116
fetchDepth: 1
112117
clean: true
118+
- ${{ parameters.extra_cargo_steps }}
113119
- template: Steps/RustCargoSteps.yml@mu_devops
114120

115121
- ${{ parameters.extra_jobs }}

0 commit comments

Comments
 (0)