Browse Source

Add CI scripts for native (#866)

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
pull/869/head
Oleksandr Karpovich 4 years ago committed by GitHub
parent
commit
c5800ace8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      compose/build.gradle.kts
  2. 8
      compose/scripts/buildNativeDemo
  3. 8
      compose/scripts/testRuntimeNative

8
compose/build.gradle.kts

@ -82,3 +82,11 @@ tasks.register("testComposeJbWeb") {
dependsOnComposeTask(":compose:runtime:runtime:jsTest") dependsOnComposeTask(":compose:runtime:runtime:jsTest")
dependsOnComposeTask(":compose:runtime:runtime:test") dependsOnComposeTask(":compose:runtime:runtime:test")
} }
tasks.register("buildNativeDemo") {
dependsOnComposeTask(":compose:native:demo:assemble")
}
tasks.register("testRuntimeNative") {
dependsOnComposeTask(":compose:runtime:runtime:macosX64Test")
}

8
compose/scripts/buildNativeDemo

@ -0,0 +1,8 @@
#!/bin/bash
cd "$(dirname "$0")"
. ./prepare
pushd ..
./gradlew buildNativeDemo $COMPOSE_DEFAULT_GRADLE_ARGS "$@" || exit 1
popd

8
compose/scripts/testRuntimeNative

@ -0,0 +1,8 @@
#!/bin/bash
cd "$(dirname "$0")"
. ./prepare
pushd ..
./gradlew testRuntimeNative $COMPOSE_DEFAULT_GRADLE_ARGS "$@" || exit 1
popd
Loading…
Cancel
Save