- Update
third_party/skia
submodule in skija repo. - Ensure Skija build is not broken:
- Run /script/build.sh
- If used Skia branch is changed (e.g. a switch from
chrome/m85
tochrome/m86
), updateVER
variable value in build scripts: - Deploy Skia to Bintray by clicking "Deploy" (or "..." to customize options) in Skia | Publish Release configuration.
- Pin the resulting build to preserve artifacts on TeamCity too.
- Update Skia in Skiko:
- Update the following configuration parameters in
gradle.properties:
dependencies.skija.git.commit
,dependencies.skia.windows
,dependencies.skia.linux
,dependencies.skia.windows
.
- Ensure build is not broken by running
./gradlew publishToMavenLocal
in<skiko_root>/skiko
: - To further ensure, that Skiko builds on all platforms, consider running a new build in
Build Check configuration:
- click "...",
- EITHER choose a branch/commit on "Changes" tab,
- OR upload a custom patch by checking "run as a personal build" on "General" tab.
- Update the following configuration parameters in
gradle.properties:
- Check, that the release is ready:
- Ask teammates if all the necessary changes are published;
- Determine a git commit for a release;
- Check, that sample projects work:
- E.g.
cd skiko && ./gradlew publishToMavenLocal && cd samples/SkijaInjectSample && ./gradlew run
; - Ask teammates for help with testing on platforms you don't have access to.
- E.g.
- Deploy Skiko to Space by clicking "Deploy" in Publish Release configuration:
- Set "Skiko Release Version" on "Parameters" tab to a new release version;
- Choose a branch/commit on "Changes" tab;
- (Tip) If you're in a hurry, consider checking "put the build to the queue top" on "General" tab.
- Check new release on GitHub
- Use
<androidx-dev-master>/frameworks/support/development/importMaven/import_maven_artifacts.py
script to download maven artifacts:# you may need to add `maven("https://packages.jetbrains.team/maven/p/ui/dev")` # the repository section of corresponding build.gradle.kts export SKIKO_VERSION="0.1.6" import_maven_artifacts.py --name "org.jetbrains.skiko:skiko-jvm:$SKIKO_VERSION" import_maven_artifacts.py --name "org.jetbrains.skiko:skiko-jvm-runtime-linux:$SKIKO_VERSION" import_maven_artifacts.py --name "org.jetbrains.skiko:skiko-jvm-runtime-windows:$SKIKO_VERSION" import_maven_artifacts.py --name "org.jetbrains.skiko:skiko-jvm-runtime-macos:$SKIKO_VERSION"
- Commit changes to
<androidx-dev-master>/prebuilts/androidx/external
repository & upload a CL.
Run a new build in Compose configuration
For building locally see corresponding the instructions:
For updating internal images on Docker registry run a build in one of the corresponding configurations: