Skip to content

ci: add Kotlin example project compilation to CI pipeline#217

Merged
Takaros999 merged 1 commit intovladimirburdukov/swift-example-project-cifrom
vladimirburdukov/kotlin-example-project-ci
Apr 20, 2026
Merged

ci: add Kotlin example project compilation to CI pipeline#217
Takaros999 merged 1 commit intovladimirburdukov/swift-example-project-cifrom
vladimirburdukov/kotlin-example-project-ci

Conversation

@chipp
Copy link
Copy Markdown
Contributor

@chipp chipp commented Apr 20, 2026

TL;DR

Adds CI support for building the Kotlin sample Android app as part of the CI pipeline.

What changed?

  • Replaced the manual Cargo dependency cache with Swatinem/rust-cache@v2 for more efficient Rust dependency caching.
  • Added Java 17 (Temurin) setup as a prerequisite for Android builds.
  • Added an Android SDK setup step with the required platform and build tools (API 35).
  • Added a CI step to build the Kotlin sample app (IDKitSampleApp) using Gradle.
  • Removed /usr/local/lib/android from the disk space cleanup step to preserve the Android SDK tooling needed for the build.
  • Fixed a missing connectUrlMode: null argument in MainActivity.kt to ensure the sample app compiles correctly.

How to test?

Push a commit or open a PR and verify that the CI pipeline completes successfully, including the new "Build Kotlin sample app" step producing a debug APK without errors.

Why make this change?

The Kotlin sample app was not previously built in CI, meaning regressions in the Android bindings or sample app code could go undetected. This change ensures the sample app is compiled and validated on every CI run, catching build failures early.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
idkit-js-example Ready Ready Preview, Comment Apr 20, 2026 10:50am

Request Review

@chipp
Copy link
Copy Markdown
Contributor Author

chipp commented Apr 20, 2026

@chipp chipp marked this pull request as ready for review April 20, 2026 07:40
@chipp chipp force-pushed the vladimirburdukov/kotlin-example-project-ci branch from a4ef43b to 22da229 Compare April 20, 2026 10:13
@chipp chipp force-pushed the vladimirburdukov/swift-example-project-ci branch from c822905 to 018c3b9 Compare April 20, 2026 10:13
@chipp chipp force-pushed the vladimirburdukov/kotlin-example-project-ci branch from 22da229 to dda2305 Compare April 20, 2026 10:21
@chipp chipp force-pushed the vladimirburdukov/swift-example-project-ci branch 2 times, most recently from 2cbb2d8 to 3fa7235 Compare April 20, 2026 10:22
@chipp chipp force-pushed the vladimirburdukov/kotlin-example-project-ci branch from dda2305 to 6ccd9ef Compare April 20, 2026 10:22
@chipp chipp force-pushed the vladimirburdukov/swift-example-project-ci branch from 3fa7235 to 89b8958 Compare April 20, 2026 10:47
@chipp chipp force-pushed the vladimirburdukov/kotlin-example-project-ci branch from 6ccd9ef to e774a02 Compare April 20, 2026 10:47
@Takaros999
Copy link
Copy Markdown
Contributor

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Takaros999 Takaros999 merged commit d44c998 into vladimirburdukov/swift-example-project-ci Apr 20, 2026
23 checks passed
@Takaros999 Takaros999 deleted the vladimirburdukov/kotlin-example-project-ci branch April 20, 2026 23:45
chipp added a commit that referenced this pull request Apr 21, 2026
* ci: add Swift example project compilation to CI pipeline

* ci: add Kotlin example project compilation to CI pipeline (#217)
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.

2 participants