Skip to content

Commit 4c00538

Browse files
committed
Update pipeline to use clean/verbose
1 parent e2409a6 commit 4c00538

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.pipelines/DSC-Official.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ extends:
141141
}
142142
$env:PATH += ";$LLVMBIN"
143143
write-verbose -verbose (gcm clang.exe | out-string)
144-
./build.ps1 -Release -Architecture $(buildName) -SkipLinkCheck
144+
rustup update stable
145+
./build.ps1 -Verbose -Clean -Release -Architecture $(buildName) -SkipLinkCheck
145146
displayName: 'Build $(buildName)'
146147
env:
147148
ob_restore_phase: true
@@ -302,7 +303,7 @@ extends:
302303
- pwsh: |
303304
apt update
304305
apt -y install musl-tools
305-
./build.ps1 -Release -Architecture x86_64-unknown-linux-musl
306+
./build.ps1 -Verbose -Clean -Release -Architecture x86_64-unknown-linux-musl
306307
./build.ps1 -PackageType tgz -Architecture x86_64-unknown-linux-musl -Release
307308
Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"
308309
displayName: 'Build x86_64-unknown-linux-musl'
@@ -342,7 +343,7 @@ extends:
342343
if ((openssl version -d) -match 'OPENSSLDIR: "(?<dir>.*?)"') {
343344
$env:OPENSSL_LIB_DIR = $matches['dir']
344345
}
345-
./build.ps1 -Release -Architecture aarch64-unknown-linux-musl
346+
./build.ps1 -Verbose -Clean -Release -Architecture aarch64-unknown-linux-musl
346347
./build.ps1 -PackageType tgz -Architecture aarch64-unknown-linux-musl -Release
347348
Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"
348349
displayName: 'Build aarch64-unknown-linux-musl'
@@ -375,7 +376,7 @@ extends:
375376
env:
376377
ob_restore_phase: true
377378
- pwsh: |
378-
./build.ps1 -Release -Architecture $(buildName)
379+
./build.ps1 -Verbose -Clean -Release -Architecture $(buildName)
379380
./build.ps1 -PackageType tgz -Architecture $(buildName) -Release
380381
Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"
381382
Write-Host "##vso[artifact.upload containerfolder=release;artifactname=release]$(ob_outputDirectory)/DSC-$(PackageVersion)-$(buildName).tar.gz"

0 commit comments

Comments
 (0)