@@ -141,13 +141,7 @@ extends:
141141 ob_restore_phase : true
142142 - pwsh : |
143143 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
151145 displayName: 'Build $(buildName)'
152146 env:
153147 ob_restore_phase: true
@@ -279,13 +273,7 @@ extends:
279273 env :
280274 ob_restore_phase : true
281275 - 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
289277 ./build.ps1 -PackageType tgz -Architecture x86_64-unknown-linux-gnu -Release
290278 Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"
291279 displayName: 'Build x86_64-unknown-linux-gnu'
@@ -325,13 +313,7 @@ extends:
325313 env :
326314 ob_restore_phase : true
327315 - 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
335317 ./build.ps1 -PackageType tgz -Architecture aarch64-unknown-linux-gnu -Release
336318 Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"
337319 displayName: 'Build aarch64-unknown-linux-gnu'
@@ -379,18 +361,7 @@ extends:
379361 env :
380362 ob_restore_phase : true
381363 - 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
394365 ./build.ps1 -PackageType tgz -Architecture $(buildName) -Release
395366 Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"
396367 Write-Host "##vso[artifact.upload containerfolder=release;artifactname=release]$(ob_outputDirectory)/DSC-$(PackageVersion)-$(buildName).tar.gz"
0 commit comments