Repository navigation
⚙️ Add CI workflow - #4
Merged
Merged
Conversation
Runs on all pull requests and on pushes to master, following the Metan Mobile CI: - Android: debug build of :androidApp, unit tests of the shared modules (testAndroidHostTest) and Android lint. - iOS: compiles the shared code for iosArm64 and builds the app for generic/platform=iOS without signing (no simulator: the app is tested on a real device). secrets.properties is gitignored, so CI creates a stub with Google's public test AdMob ids.
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.
Summary
Adds a GitHub Actions CI workflow (
.github/workflows/ci.yml), following the Metan Mobile CI:ubuntu-latest)::androidApp:assembleDebug, unit tests of the shared modules (testAndroidHostTest) and:androidApp:lintDebug.macos-latest)::composeApp:compileKotlinIosArm64, thenxcodebuild buildof the app forgeneric/platform=iOSwithout signing. The build phase also builds and embeds the Kotlin framework. There is no simulator step: the app is tested on a real device.Reports are uploaded as an artifact when a step fails. Gradle, Kotlin/Native (
~/.konan) and Swift packages are cached.secrets.propertiesis gitignored, so CI creates a stub with Google's public test AdMob ids.google-services.jsonis in the repository. No repository secrets are needed.A CI status badge is added to the README.
Notes
update/dependencies, so this diff shows only the CI. Merge 🔄 Update: AGP 9, Gradle 9.8.1, Kotlin 2.4.21 and dependencies #3 first. GitHub then retargets this PR tomaster.master. That way it also runs on stacked PRs like this one. On push, it runs only formaster.assembleDebug,testAndroidHostTest(119 tests),lintDebug(0 errors) and the unsignedgeneric/platform=iOSbuild pass.master(Android,iOS).