Skip to content

Don't build demo on publish#7

Merged
sproctor merged 5 commits into
masterfrom
fix/dont-build-demo-on-publish
Jun 8, 2026
Merged

Don't build demo on publish#7
sproctor merged 5 commits into
masterfrom
fix/dont-build-demo-on-publish

Conversation

@sproctor

@sproctor sproctor commented Jun 8, 2026

Copy link
Copy Markdown
Owner

also, add CI tests and fix test failures

sproctor and others added 4 commits June 8, 2026 10:05
Run :signaturepad:publishToMavenCentral instead of the unqualified
task so the demo modules are never configured or built during publish.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
addPoint now ignores points outside the pad bounds, which default to
0x0. Give the state a size before gesturing so the test points fall
within bounds and strokes are actually recorded.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Runs :signaturepad:allTests (JVM, JS, WasmJS, iOS simulator) on
pull requests and pushes to master. Uses macos-latest so the iOS
simulator tests can run; scoped to the library so the demo modules
aren't built.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The Kotlin/Native compiler cache holds Compose ui-uikit objects that
hard-reference newer UIKit symbols (e.g. UIViewLayoutRegion), which
fail to link against the deployment target and break
linkDebugTestIosSimulatorArm64 in CI. Disable the cache for the native
targets so those symbols resolve correctly.

Uses the disableNativeCache DSL (Kotlin 2.3.20+) rather than the
deprecated kotlin.native.cacheKind gradle property.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@sproctor sproctor force-pushed the fix/dont-build-demo-on-publish branch from 0807012 to d5c1488 Compare June 8, 2026 14:38
kotlin-js-store/yarn.lock resolves to slightly different contents
across platforms (CI macOS vs a Linux dev machine), so kotlinStoreYarnLock
fails CI on a platform-driven diff. Set yarnLockMismatchReport to WARNING
so the lock is still tracked but doesn't break the build.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@sproctor sproctor merged commit 7fb6521 into master Jun 8, 2026
1 check passed
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.

1 participant