Skip to content

Commit 2ebbf24

Browse files
fix CI build 2
1 parent 96164db commit 2ebbf24

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.pipelines/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ extends:
3838
cloudvault:
3939
enabled: false
4040
globalSdl:
41+
tsa:
42+
useDynamicRouting: true
43+
enabled: true
4144
sbom:
4245
enabled: true
4346
packageName: Microsoft.PowerShell.Native

.vsts-ci/windows.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ jobs:
2424
buildName: x86
2525
Windows x64:
2626
buildName: x64
27-
Windows x64_arm:
28-
buildName: x64_arm
2927
Windows x64_arm64:
3028
buildName: x64_arm64
3129

build.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ function Start-BuildNativeWindowsBinaries {
288288

289289
# vcvarsall.bat is used to setup environment variables
290290
$vcvarsallbatPath = "$vcPath\vcvarsall.bat"
291-
$vcvarsallbatPathVS2017 = ( Get-ChildItem $alternateVCPath -Filter vcvarsall.bat -Recurse -File | Select-Object -First 1).FullName
291+
$vcvarsallbatPathVS2017 = ( Get-ChildItem $alternateVCPath -Filter vcvarsall.bat -Recurse -File -ErrorAction SilentlyContinue | Select-Object -First 1 -ExpandProperty FullName)
292292

293293
if(Test-Path $vcvarsallbatPathVS2017)
294294
{

tools/releaseBuild/PowershellNative.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
param (
77

88
[Parameter(Mandatory, ParameterSetName = 'Build')]
9-
[ValidateSet('x64', 'x86', 'x64_arm', 'x64_arm64', 'linux-x64', 'osx', 'linux-arm', 'linux-arm64', 'linux-musl-x64')]
9+
[ValidateSet('x64', 'x86', 'x64_arm64', 'linux-x64', 'osx', 'linux-arm', 'linux-arm64', 'linux-musl-x64')]
1010
[string]
1111
$Arch,
1212

0 commit comments

Comments
 (0)