Skip to content

macOS: CI, e2e and release builds for Apple Silicon and Intel #787

Open

Description

@vmillet-dev

Context — DevNotes ships for Windows and Linux and says macOS is out of scope, for two reasons: nothing here could test it, and Gatekeeper wants a paid Apple Developer account. The first no longer holds — the e2e harness is the WebDriver server embedded in the application, which drives WKWebView.

Change — macOS joins the Rust and e2e CI matrices and the release (a .dmg and the updater's archive per architecture, ad-hoc signed), with the Dock icon and ⌘Q handled; a macOS runner says what breaks.

To do

  • CI — macos-latest joins the test-rust and test-e2e matrices.
  • E2E — e2e/support/profile.ts only knows %APPDATA% and XDG: on macOS the profile is under ~/Library/Application Support, so the wipe cleans nothing and preferences.json and vault.json are read where they are not.
  • Release — two macOS legs, Apple Silicon and Intel, each with a .dmg and the updater's .app.tar.gz named by architecture; latest.json gains darwin-aarch64 and darwin-x86_64. ⚠️ A macOS leg that fails must not hold back a Windows and Linux release: prepare has pushed the tag by then, and a skipped publish leaves a tag without a release.
  • Bundle — an .icns, and an ad-hoc signature, without which an Apple Silicon Mac refuses to start a downloaded build at all.
  • Native behaviour — closing the window hides it by default: the Dock's icon has to bring it back (RunEvent::Reopen, which nothing handles). ⌘Q is the menu bar's « Quit », which ends the process without a CloseRequested: it has to go through request_quit like every other way out, or what is typed and unsaved goes with it.
  • Docs — the README (platforms, files, Gatekeeper, where the data is), docs/architecture.md and docs/releasing.md, which all say two platforms.

Out of scope

  • A Developer ID signature and notarisation: they need the paid account. Until then a downloaded build is opened through System Settings → Privacy & Security → « Open Anyway ».
  • ⌘ in the shortcut labels: they read « Ctrl+N » everywhere but the search box. The keys themselves answer to ⌘ and to Ctrl.
  • An icon drawn on Apple's grid.

Tests — the whole e2e suite on macos-latest is the scenario: every spec file, against the assembled application, on the third WebView. Nothing native — the Dock, the menu bar — can be driven by the harness, and nothing here can be run on a Mac by hand: what only a Mac can show is said as such in the pull request.

Activity

  1. added
    enhancement
    on Oct 12, 2026
  2. linked a pull request that will close this issueBuild, test and ship DevNotes for macOS #788on Oct 12, 2026
  3. changed the title [-]Build, test and ship DevNotes for macOS[/-] [+]macOS: CI, e2e and release builds for Apple Silicon and Intel[/+] on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions