Skip to content

Commit 422dac7

Browse files
committed
Enhance CI workflow to install additional ATL and MFC components for ARM64 support
1 parent cfa64a3 commit 422dac7

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,26 @@ jobs:
8787
& $vsInstaller modify `
8888
--installPath "$installPath" `
8989
--add Microsoft.VisualStudio.Component.VC.ATL `
90+
--add Microsoft.VisualStudio.Component.VC.ATLMFC `
9091
--add Microsoft.VisualStudio.Component.VC.ATL.ARM64 `
92+
--add Microsoft.VisualStudio.Component.VC.MFC.ARM64 `
93+
--add Microsoft.VisualStudio.Component.VC.14.29.16.11.ATL `
94+
--add Microsoft.VisualStudio.Component.VC.14.29.16.11.MFC `
95+
--add Microsoft.VisualStudio.Component.VC.14.29.16.11.ATL.ARM64 `
96+
--add Microsoft.VisualStudio.Component.VC.14.29.16.11.MFC.ARM64 `
9197
--quiet --norestart --wait
9298
9399
if ($LASTEXITCODE -ne 0) {
94100
throw "Visual Studio component installation failed with exit code $LASTEXITCODE"
95101
}
96102
103+
$atlHeaders = Get-ChildItem -Path (Join-Path $installPath "VC\Tools\MSVC") -Filter atlbase.h -Recurse -ErrorAction SilentlyContinue
104+
if (-not $atlHeaders) {
105+
throw "ATL headers are still missing after component installation"
106+
}
107+
108+
$atlHeaders | Select-Object -ExpandProperty FullName
109+
97110
- name: Setup devcmd
98111
uses: ilammy/msvc-dev-cmd@v1
99112

0 commit comments

Comments
 (0)