Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Recently,
electron-builder
has become faulty on GitHub'smacos-13
runners. It gets stuck during blockmap generation and seems to hang forever with no further progress.macos-13
is an x64 environment, allowingnode-pre-gyp
to download the correct x64 SQLite3 bindings.macos-14
andmacos-15
runners are ARM-based and cannot produce correct x64 Grist Desktop builds.electron-builder
only has problems with x64 macOS runners - it works well on ARM macOS runners otherwise.This issues blocks our CI from making valid builds for Intel Macs. Release v0.3.0 is affected.
This PR disables generation of blockmaps for macOS
dmg
builds. Blockmaps are used forelectron-updater
incremental updates, which we are not using at the moment. Disabling it seems a plausible workaround for now.The way to disable blockmaps is not officially documented, see electron-userland/electron-builder#2900 for details. Furthermore, since this option only exists for
dmg
builds, we have to dropzip
Mac builds. It is not a major problem becausedmg
is the preferred way to distribute macOS software.Note: A hack similar to #32 is required if we want to build for x64 on ARM runners.