Files
Ben Gotow 7c955071c7 Add ARM64 (aarch64) Linux build support (#2601)
* Add ARM64 (aarch64) Linux build support

Add the infrastructure to build, package, and test Mailspring on ARM64
Linux, following the same pattern used for x64 Linux and Apple Silicon.

Build system changes:
- postinstall.js: Add linux-arm64 mailsync S3 download path
- package-task.js: Explicitly set Linux arch via process.arch
- installer-linux-task.js: Add arm64 -> arm64 Debian arch mapping
- mkdeb: Skip execstack (x86-only tool) on non-x86 architectures
- snapcraft.yaml: Add arm64 to supported platforms

CI/CD:
- Add build-linux-arm64.yaml workflow using GitHub's native
  ubuntu-24.04-arm runners for building DEB, RPM, and Snap packages
- Include installation tests on Ubuntu, and Fedora arm64 containers

The RPM spec already handles ARM64 correctly since its %else branch
(64-bit library qualifiers) applies to both x86_64 and aarch64.

Prerequisite: ARM64 mailsync binaries must be built and uploaded to
S3 at mailspring-builds/mailsync/{hash}/linux-arm64/mailsync.tar.gz

https://claude.ai/code/session_019RpF8j6PpEQ4B1ME8x3Rbn

* Update .github/workflows/build-linux-arm64.yaml

Co-authored-by: indent-staging[bot] <246363610+indent-staging[bot]@users.noreply.github.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: indent-staging[bot] <246363610+indent-staging[bot]@users.noreply.github.com>
2026-02-10 21:35:32 -06:00
..