[CI]: Add Desktop CI for :desktop, :core desktopTest and :cli - #114
Merged
Conversation
android.yml is the only PR-triggered workflow and runs assembleDebug, testDebugUnitTest and :app:lintDebug, all of which stop at :core's androidTarget. :desktop and :cli have never been compiled on a PR, and :core's desktopTest source set has never been run. The gap is not theoretical. PR #113 bumps composeMaterial3Mp, which is consumed only by :desktop, and passed CI without that module being built. PR #92 adds 13 test files under core/src/desktopTest and cli/src/test that no current job would execute. Runs on ubuntu-latest only: :desktop is a single jvm("desktop") target, so one host covers the Kotlin/Compose surface, and per-OS packaging is already exercised by release.yml.
Both workflows declared a job id of `build`, so the PR checks list showed two entries named `build` with no way to tell the Android job from the desktop one. Renaming this job to `desktop` makes the check read "Desktop CI / desktop", which also matters if it is ever promoted to a required status check.
rugbedbugg
force-pushed
the
ci/add-desktop-cli-workflow
branch
from
September 3, 2026 01:51
3e521ca to
2dc67ad
Compare
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
Add
Desktop CI, a PR-triggered workflow covering:desktop,:core's desktop test source set, and:cli.android.ymlis currently the only workflow that runs on a PR, and it runsassembleDebug testDebugUnitTest :app:lintDebug— all of which stop at:core'sandroidTarget. The consequence is that a green check on this repo says nothing about the desktop or CLI code::desktophas never been compiled on a PR.:clihas never been compiled on a PR.core/src/desktopTesthas never been run.release.ymlis tag/workflow_dispatch-only, so it is never validated either.Why now
Two open PRs are affected by this blind spot:
composeMaterial3Mp, whichlibs.versions.tomldeliberately holds off thecomposeMultiplatformtrack for the expressive APIs. It is consumed only by:desktop, and the PR passed CI without:desktopever being built.core/src/desktopTest, 8 undercli/src/test) that no current job would execute.Scope
One job on
ubuntu-latest::desktopis a singlejvm("desktop")target — OS differences are handled at runtime viaOsBindings, and per-OS packaging is already exercised byrelease.yml— so one host covers the Kotlin/Compose surface without tripling CI minutes.Kept as a separate workflow rather than a job inside
android.ymlso the check name stays distinct if it is ever promoted to a required status check.Verification
./gradlew :desktop:compileKotlinDesktop :core:desktopTest :cli:buildonmain:BUILD SUCCESSFUL, with:desktop:compileKotlinDesktopand:cli:compileKotlinexecuting.:core:desktopTestisNO-SOURCEonmaintoday and starts doing real work once Add standalone CLI lifecycle and release packaging #92 lands.