mirror of
https://github.com/bitsycore/skiko.git
synced 2026-10-06 23:17:27 +00:00
Fixes https://youtrack.jetbrains.com/issue/CMP-5856/Desktop-ComposePanel-size-breaks-with-.fillMax-modifiers#focus=Comments-27-10632441.0-0 Fixes https://youtrack.jetbrains.com/issue/CMP-5968/Compose-content-is-rendered-in-the-wrong-place-in-IJ-when-using-AWT-compositing Regression after https://github.com/JetBrains/skiko/pull/661/files#diff-910a6e28fda20a00bc98c6a8a04f74ab701d79e841b9baddf146b810e610572fR363 (`setBounds` is called more often, but not enough as `ancestorMoved`) When a panel changes its position without changing its size, `doLayout` isn't called because the content itself wasn't changed. But we still need to update the bounds of the underlying layer. ## Testing - https://youtrack.jetbrains.com/issue/CMP-5856/Desktop-ComposePanel-size-breaks-with-.fillMax-modifiers#focus=Comments-27-10632441.0-0 isn't reproducible after the fix - there are no resize glitches ## Release Notes ### Fixes - Fix bounds of ComposePanel in IntelliJ on macOs
69 lines
2.1 KiB
YAML
69 lines
2.1 KiB
YAML
name: WebTarget
|
|
|
|
on:
|
|
# Triggers the workflow on push or pull request events but only for the master branch
|
|
push:
|
|
branches: [ wasm-main, master ]
|
|
pull_request:
|
|
branches: [ wasm-main, master ]
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
workflow_dispatch:
|
|
|
|
|
|
jobs:
|
|
web:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: browser-actions/setup-chrome@v1
|
|
with:
|
|
chrome-version: stable
|
|
id: setup-chrome
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-java@v2
|
|
with:
|
|
distribution: 'adopt'
|
|
java-version: '11'
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install libdbus-1-dev
|
|
- name: 'install emsdk'
|
|
shell: bash
|
|
run: |
|
|
cd ./skiko
|
|
sudo apt-get update -y
|
|
sudo apt-get install binutils build-essential -y
|
|
sudo apt-get install software-properties-common -y
|
|
sudo apt-get install python git curl wget -y
|
|
if [ -d ./emsdk ]; then
|
|
cd ./emsdk
|
|
git pull
|
|
else
|
|
git clone https://github.com/emscripten-core/emsdk.git
|
|
cd ./emsdk
|
|
fi
|
|
./emsdk install 3.1.49
|
|
./emsdk activate 3.1.49
|
|
source ./emsdk_env.sh
|
|
cd ..
|
|
- name: 'run k/wasm tests'
|
|
shell: bash
|
|
run: |
|
|
cd ./skiko
|
|
source ./emsdk/emsdk_env.sh
|
|
./gradlew --stacktrace --info -Pskiko.wasm.enabled=true -Pskiko.js.enabled=true -Pskiko.test.onci=true wasmJsTest
|
|
./gradlew --stacktrace --info -Pskiko.wasm.enabled=true -Pskiko.js.enabled=true publishSkikoWasmRuntimePublicationToMavenLocal
|
|
- name: 'run k/js tests'
|
|
shell: bash
|
|
run: |
|
|
cd ./skiko
|
|
source ./emsdk/emsdk_env.sh
|
|
./gradlew --stacktrace --info -Pskiko.wasm.enabled=true -Pskiko.js.enabled=true -Pskiko.test.onci=true jsTest
|
|
- uses: actions/upload-artifact@v4
|
|
if: always()
|
|
with:
|
|
name: test-reports-wasm
|
|
path: ./skiko/build/reports/tests
|
|
retention-days: 5
|