Repository navigation
Release workflow: the four builds, made on a tag and published - #8
Merged
Merged
Conversation
A tag v* builds the phone and TV APKs and the iOS and Apple TV simulator apps, runs the shared unit tests on the way, and publishes them with SHA256SUMS under names that stay the same, so a CI job can download the latest without building. The Apple builds use the xcode-27 image, Xcode 27.1. A pull request that touches the workflow builds without publishing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
.github/workflows/release.yml: a tagv*builds Morpho Market for every platform it runs on and publishes the builds as a GitHub release, withSHA256SUMS, under names that stay the same from release to release, soreleases/latest/download/<file>keeps working:MorphoMarket-android.apkMorphoMarket-android-tv.apkMorphoMarket-ios-simulator.zipMorphoMarket-tvos-simulator.zipThe Android job runs
:shared:testDebugUnitTeston the way. The APKs are signed with the runner's debug key, as the README already says of the release build, and the Apple builds are unsigned simulator builds: an app under test, never published to a store. The Apple job installs XcodeGen and generates the project, as the README's build steps do, on thexcode-27image (Xcode 27.1, 27A9275).A pull request that changes the workflow builds everything and publishes nothing, so this PR is the workflow's first run. The README gains "Install a release", which notes that a release APK replaces one you built yourself only after an uninstall, since the debug keys differ.
Checked
All four builds were run locally from a clean checkout of
mainwith the workflow's commands, JDK 21 and Xcode 27.1. The phone APK from that build was installed on the Android 15 emulator, and mobium-evals' t25 controls, which drive Morpho Market, were as expected with it.