Skip to content

ci: Safari extension sync, validate, and macOS build - #42

Open
VedantMadane wants to merge 1 commit into
ja7ad:mainfrom
VedantMadane:ci/issue-1-safari
Open

ci: Safari extension sync, validate, and macOS build#42
VedantMadane wants to merge 1 commit into
ja7ad:mainfrom
VedantMadane:ci/issue-1-safari

Conversation

@VedantMadane

Copy link
Copy Markdown

Summary

Adds a GitHub Actions workflow to build, validate, and publish (as artifact) the Safari extension continuously.

Workflow (.github/workflows/safari-extension.yml)

  1. Ubuntu — run scripts/sync-extension-resources.sh safari, fail if Resources/ drifts from Chrome sources; validate MV3 manifest + required assets; confirm native handler present
  2. macOS — full Xcode build via scripts/build-safari-extension.sh; stage the Release .app and upload as hydra-safari-extension artifact (14-day retention)

Triggered on changes under extensions/**, the Safari build/sync scripts, or the workflow itself (also workflow_dispatch).

Notes

  • End-to-end Safari UI testing still requires a human on macOS (right-click download, selection pill, etc.); this PR automates the build/publish verification path from issue Build and test safari extension and publish #1
  • Automatic download capture remains N/A on Safari (platform API limit)

Test plan

  • Workflow YAML reviewed against scripts/build-safari-extension.sh output paths (DerivedData)
  • CI green on this PR (sync-and-validate + build-macos)

Fixes #1

Add .github/workflows/safari-extension.yml that:
- regenerates Safari Resources from Chrome sources and fails if dirty
- validates MV3 manifest and required assets on Ubuntu
- builds the Safari wrapper app with full Xcode on macos-latest
- uploads the built .app as a CI artifact for inspection

Fixes ja7ad#1

Signed-off-by: Vedant Madane <6527493+VedantMadane@users.noreply.github.com>
@ja7ad

ja7ad commented Aug 29, 2026

Copy link
Copy Markdown
Owner

@VedantMadane Your pipeline failed, do you have plan for fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build and test safari extension and publish

2 participants