Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

Ci/native arm64 msbuild (#16170)

fufesoubf1ebe5be2f5
diff --git a/.github/workflows/flutter-build.yml b/.github/workflows/flutter-build.yml
index 9c3be51b6..83cacd1cb 100644
--- a/.github/workflows/flutter-build.yml
+++ b/.github/workflows/flutter-build.yml
@@ -374,6 +374,12 @@ jobs:
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce # v2
+ with:
+ # Select the MSBuild process architecture; -p:Platform sets the MSI target.
+ # Native ARM64 tools give the compiler more address space for PCH files
+ # (C3859/C1076 were reported by HostX86\arm64\CL.exe).
+ # Keep the action's default x86 MSBuild for the existing x64 MSI job.
+ msbuild-architecture: ${{ matrix.job.arch == 'aarch64' && 'arm64' || 'x86' }}
- name: Build msi
# Builds the MSI for the matrix arch. res/msi (WiX v4 + native CustomActions) carries