Skip to content

ci: add GitHub Actions CI and macOS/iOS release workflows - #9

Merged
songtianlun merged 3 commits into
mainfrom
ci/github-actions-release
Nov 23, 2026
Merged

songtianlun merged 3 commits into
mainfrom
ci/github-actions-release

Conversation

@songtianlun

Copy link
Copy Markdown
Member

Summary

Add GitHub Actions CI testing and tag-based macOS/iOS release automation for ivynote-apple, modeled after ivynote-qt.

Changes

  • Tag Release Workflow (.github/workflows/release.yml):
    • Triggered on v*.*.* tags (with suffix tags automatically marked as pre-releases), packaging-related PRs (dry-run artifacts), and workflow_dispatch.
    • Runs IvynoteKit unit tests in parallel with Universal macOS (arm64 + x86_64) .dmg and iOS .ipa builds.
    • Supports optional Apple signing & notarization secrets while falling back cleanly to ad-hoc macOS .dmg and unsigned iOS .ipa builds when secrets are omitted.
    • Verifies bundle metadata, architectures, embedded web editor assets, code signatures, and DMG mountability (packaging/create-dmg.sh, packaging/verify-bundle.sh).
    • Publishes GitHub Release (with SHA256SUMS.txt, packaging/release-notes.md, .github/release.yml PR grouping) only after all checks pass, and optionally triggers the website release refresh webhook.
  • Branch & PR CI Workflow (.github/workflows/ci.yml):
    • Runs on pushes to main, dev, release, release/**, all non-draft PRs, and manual dispatches.
    • Runs IvynoteKit unit tests + release build, static asset/plist/script checks, macOS Debug, and iOS Simulator Debug builds on PRs; additionally verifies full Universal macOS Release DMG and iOS Device Release IPA packaging on branch pushes.
  • Version Propagation (project.yml, App/Info.plist):
    • Replaced hardcoded 1.0/1 in App/Info.plist with $(MARKETING_VERSION) and $(CURRENT_PROJECT_VERSION) and declared them in project.yml so xcodebuild overrides from tags are embedded into built bundles.
  • Docs & Ignore (README.md, .gitignore):
    • Documented CI, tag releases, and optional signing secrets; added dist/ to .gitignore.

@songtianlun
songtianlun merged commit 76943bd into main Nov 23, 2026
8 checks passed
@songtianlun
songtianlun deleted the ci/github-actions-release branch November 23, 2026 02:04
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.

1 participant