Skip to content

Commit 4acf681

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
set default toolchain for arm64-musl
1 parent 656d494 commit 4acf681

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.pipelines/DSC-Official.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ extends:
124124
ob_restore_phase: true
125125
- pwsh: |
126126
Set-Location "$(Build.SourcesDirectory)/DSC"
127-
write-verbose -verbose "VCINSTALLDIR: $($env:VCINSTALLDIR)"
127+
write-verbose -verbose (dir $env:PROGAMFILES | out-string)
128128
./build.ps1 -Release -Architecture $(buildName) -SkipLinkCheck
129129
displayName: 'Build $(buildName)'
130130
env:
@@ -321,6 +321,8 @@ extends:
321321
$env:CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-Clink-self-contained=yes -Clinker=rust-lld"
322322
apt -y install clang
323323
apt -y install musl-tools
324+
apt -y install gcc-multilib
325+
rustup default stable-aarch64-unknown-linux-musl
324326
./build.ps1 -Release -Architecture aarch64-unknown-linux-musl
325327
./build.ps1 -PackageType tgz -Architecture aarch64-unknown-linux-musl -Release
326328
Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"

0 commit comments

Comments
 (0)