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.
This commit is contained in:
1 parent
e28e95fa2b
commit
14e5b9d982
2 files changed
+8
-11
No files matched your search
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in new issue
Block a user