Commit 2402fe9
authored
Conditionalize RustSetupSteps.yml to Non-Self-Hosted Agents (#246)
The current rust setup script embedded for package CI build will cause
failures on selfhosted agent pipelines.
On Windows AARCH64 agents, the failure is due to the installation of
toolchain is currently specified to be x86_64, which will not succeed on
AARCH64 systems in the self-host pool. In addition, the update will
apply to installed cargo, which could cause conflict when multiple
agents run on the same host system.
On Linux agents, the failure is due to modifications made to container
permissions. Self-hosted Linux agents do not use containers.
The change here removes the toolchain installation steps for selfhost
agent matrix builds as it assumes these systems preset the needed
environment properly.1 parent 6428fe5 commit 2402fe9
2 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | 89 | | |
92 | 90 | | |
93 | 91 | | |
| |||
100 | 98 | | |
101 | 99 | | |
102 | 100 | | |
| 101 | + | |
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
109 | 113 | | |
110 | 114 | | |
111 | 115 | | |
| |||
136 | 140 | | |
137 | 141 | | |
138 | 142 | | |
| 143 | + | |
| 144 | + | |
139 | 145 | | |
140 | 146 | | |
141 | 147 | | |
| |||
0 commit comments