Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task: GitHub Actions workflow for releases #13

Closed
surpher opened this issue Apr 27, 2024 · 1 comment
Closed

Task: GitHub Actions workflow for releases #13

surpher opened this issue Apr 27, 2024 · 1 comment
Labels

Comments

@surpher
Copy link
Owner

surpher commented Apr 27, 2024

❕ Problem Statement

libpact_ffi.a files for all supported platforms are ridiculously large. LFS hosted on GitHub is out of the question for an OOS project. PactSwiftMockServer has already been set up to vend XCFramework package that strips down most of the unneeded runtime within the included libpact_ffi binaries.

Releasing a new version is tedious as it is currently done on a developer's machine and new XCFramework is pushed to the remote repository and tagged.

💬 Task Description

Create a GitHub action for release process that builds a new XCFramework, commits it into repository, tags the commit with version.

👩‍🔧 Technical Design Notes

  • refactor build_xcframework script to automate on CI without user interaction
  • put in failsafes (see previous point) avoiding unnecessarily blowing up the repo size
  • use a pactSwiftMockServer.version file?
  • check the version is bumped up compared to latest release version before continuing

🤝 Relationships

  • ...
@surpher
Copy link
Owner Author

surpher commented Aug 31, 2024

Resolved by surpher/PactSwiftServer#10

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

No branches or pull requests

1 participant