@@ -141,13 +141,7 @@ extends:
141
141
ob_restore_phase : true
142
142
- pwsh : |
143
143
Set-Location "$(Build.SourcesDirectory)/DSC"
144
- Write-Host "Use 'powershell' CFS"
145
- Add-Content -Path "./.cargo/config.toml" -Value '[source.crates-io]'
146
- Add-Content -Path "./.cargo/config.toml" -Value 'replace-with = "powershell"'
147
- Add-Content -Path "./.cargo/config.toml" -Value '[registry]'
148
- Add-Content -Path "./.cargo/config.toml" -Value 'global-credential-providers = ["cargo:token"]'
149
-
150
- ./build.ps1 -Release -Architecture $(buildName) -SkipLinkCheck
144
+ ./build.ps1 -Release -Architecture $(buildName) -SkipLinkCheck -UseCFS
151
145
displayName: 'Build $(buildName)'
152
146
env:
153
147
ob_restore_phase: true
@@ -279,13 +273,7 @@ extends:
279
273
env :
280
274
ob_restore_phase : true
281
275
- pwsh : |
282
- Write-Host "Use 'powershell' CFS"
283
- Add-Content -Path "./.cargo/config.toml" -Value '[source.crates-io]'
284
- Add-Content -Path "./.cargo/config.toml" -Value 'replace-with = "powershell"'
285
- Add-Content -Path "./.cargo/config.toml" -Value '[registry]'
286
- Add-Content -Path "./.cargo/config.toml" -Value 'global-credential-providers = ["cargo:token"]'
287
-
288
- ./build.ps1 -Release -Architecture x86_64-unknown-linux-gnu
276
+ ./build.ps1 -Release -Architecture x86_64-unknown-linux-gnu -UseCFS
289
277
./build.ps1 -PackageType tgz -Architecture x86_64-unknown-linux-gnu -Release
290
278
Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"
291
279
displayName: 'Build x86_64-unknown-linux-gnu'
@@ -325,13 +313,7 @@ extends:
325
313
env :
326
314
ob_restore_phase : true
327
315
- pwsh : |
328
- Write-Host "Use 'powershell' CFS"
329
- Add-Content -Path "./.cargo/config.toml" -Value '[source.crates-io]'
330
- Add-Content -Path "./.cargo/config.toml" -Value 'replace-with = "powershell"'
331
- Add-Content -Path "./.cargo/config.toml" -Value '[registry]'
332
- Add-Content -Path "./.cargo/config.toml" -Value 'global-credential-providers = ["cargo:token"]'
333
-
334
- ./build.ps1 -Release -Architecture aarch64-unknown-linux-gnu
316
+ ./build.ps1 -Release -Architecture aarch64-unknown-linux-gnu -UseCFS
335
317
./build.ps1 -PackageType tgz -Architecture aarch64-unknown-linux-gnu -Release
336
318
Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"
337
319
displayName: 'Build aarch64-unknown-linux-gnu'
@@ -379,18 +361,7 @@ extends:
379
361
env :
380
362
ob_restore_phase : true
381
363
- pwsh : |
382
- Write-Host "Use 'powershell' CFS"
383
- Add-Content -Path "./.cargo/config.toml" -Value '[source.crates-io]'
384
- Add-Content -Path "./.cargo/config.toml" -Value 'replace-with = "powershell"'
385
- Add-Content -Path "./.cargo/config.toml" -Value '[registry]'
386
- Add-Content -Path "./.cargo/config.toml" -Value 'global-credential-providers = ["cargo:token"]'
387
-
388
- $c = get-content "./.cargo/config.toml" | Out-String
389
- Write-Host $c
390
-
391
- $env:CARGO_HTTP_DEBUG=true
392
- $env:CARGO_LOG='network=trace'
393
- ./build.ps1 -Release -Architecture $(buildName)
364
+ ./build.ps1 -Release -Architecture $(buildName) -UseCFS
394
365
./build.ps1 -PackageType tgz -Architecture $(buildName) -Release
395
366
Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"
396
367
Write-Host "##vso[artifact.upload containerfolder=release;artifactname=release]$(ob_outputDirectory)/DSC-$(PackageVersion)-$(buildName).tar.gz"
0 commit comments