From 14e5b9d982d3acb1982084f65cc7be35fe18651b Mon Sep 17 00:00:00 2001 From: TapTap Date: Wed, 18 Nov 2026 19:26:04 +0000 Subject: [PATCH] ci: drop the Wasm build from the pipeline It is CPU-bound and dominates the runtime. The target stays available for local builds with :composeApp:wasmJsBrowserDistribution. --- .gitea/workflows/ci.yaml | 7 ++----- README.md | 12 ++++++------ 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index d66d03d..3cc52e2 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -45,15 +45,13 @@ jobs: :composeApp:desktopTest \ :composeApp:assembleDebug \ :composeApp:packageUberJarForCurrentOS \ - :composeApp:wasmJsBrowserDistribution \ --console=plain else - # The optimized Wasm build is CPU-bound and slow; main/PR builds - # only need to prove the web target compiles and bundles. + # The Wasm target is kept for local builds but is not part of CI: + # it is CPU-bound and dominates the pipeline runtime. gradle \ :composeApp:desktopTest \ :composeApp:assembleDebug \ - :composeApp:wasmJsBrowserDevelopmentExecutableDistribution \ --console=plain fi @@ -64,7 +62,6 @@ jobs: cp composeApp/build/outputs/apk/debug/composeApp-debug.apk dist/AudioManager.apk if [[ "$GITHUB_REF" == refs/tags/* ]]; then cp composeApp/build/compose/jars/*.jar dist/AudioManager-desktop.jar - (cd composeApp/build/dist/wasmJs/productionExecutable && zip -qr "$GITHUB_WORKSPACE/dist/AudioManager-web.zip" .) fi - name: Publish release assets diff --git a/README.md b/README.md index e200d89..7cf7b2d 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ gradle :composeApp:run # Desktop fat jar gradle :composeApp:packageUberJarForCurrentOS -# Web bundle +# Web bundle (local only, not built by CI) gradle :composeApp:wasmJsBrowserDistribution # composeApp/build/dist/wasmJs/productionExecutable ``` @@ -250,11 +250,11 @@ radio and visible in the song list. `gitea.tap-tap.win/taptap/audiomanager-client-ci:3`. The image has the Android SDK, Node, Yarn and a warmed Gradle dependency cache. -- **main / PR:** run `desktopTest`, build the Android APK and the *development* - Wasm bundle. -- **`v*` tag:** additionally build the desktop fat jar and the optimized Wasm - bundle, attach the artifacts to the Gitea release, and publish the AAB to Play - internal testing. +- **main / PR:** run `desktopTest` and build the Android APK. +- **`v*` tag:** additionally build the desktop fat jar, attach the artifacts to + the Gitea release, and publish the AAB to Play internal testing. +- The Wasm target stays in the project for local builds but is **not** part of + CI; compiling it dominates the pipeline runtime. Rebuild the CI image after changing `ci/Dockerfile` or dependency versions: