ci(macos): allow headless DMG bundling on Gitea runners #219

Merged
gronod merged 1 commits from ci/fix-macos-dmg-bundling into development 2026-09-06 19:26:25 +01:00
Owner

Summary

Resolves macOS CI release build failures on Gitea act_runner (task 2997 / run 23662).

Root Cause

In .gitea/workflows/build-macos.yml, TAURI_BUNDLER_DMG_IGNORE_CI: "true" caused Tauri's bundle_dmg.sh to bypass --skip-jenkins. On the headless Gitea macOS VM runner, bundle_dmg.sh invoked Finder AppleScript to arrange icons and render the DMG background image. Without an interactive GUI display session, AppleScript hung for 120 seconds and failed with exit code 64, failing the job right after binary compilation succeeded.

Changes

  • Removed TAURI_BUNDLER_DMG_IGNORE_CI: "true" and set CI: "true" on the Build Tauri App step so bundle_dmg.sh runs with --skip-jenkins and finishes in seconds without GUI dependencies.
  • Removed the redundant 10-second Warm up macOS GUI for DMG layout step.
### Summary Resolves macOS CI release build failures on Gitea `act_runner` (task `2997` / run `23662`). #### Root Cause In `.gitea/workflows/build-macos.yml`, `TAURI_BUNDLER_DMG_IGNORE_CI: "true"` caused Tauri's `bundle_dmg.sh` to bypass `--skip-jenkins`. On the headless Gitea macOS VM runner, `bundle_dmg.sh` invoked Finder AppleScript to arrange icons and render the DMG background image. Without an interactive GUI display session, AppleScript hung for 120 seconds and failed with exit code 64, failing the job right after binary compilation succeeded. #### Changes - Removed `TAURI_BUNDLER_DMG_IGNORE_CI: "true"` and set `CI: "true"` on the `Build Tauri App` step so `bundle_dmg.sh` runs with `--skip-jenkins` and finishes in seconds without GUI dependencies. - Removed the redundant 10-second `Warm up macOS GUI for DMG layout` step.
gronod added 1 commit 2026-09-06 19:24:38 +01:00
gronod merged commit 7a9637b5d0 into development 2026-09-06 19:26:25 +01:00
Sign in to join this conversation.