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:desktopTest \
|
||||||
:composeApp:assembleDebug \
|
:composeApp:assembleDebug \
|
||||||
:composeApp:packageUberJarForCurrentOS \
|
:composeApp:packageUberJarForCurrentOS \
|
||||||
:composeApp:wasmJsBrowserDistribution \
|
|
||||||
--console=plain
|
--console=plain
|
||||||
else
|
else
|
||||||
# The optimized Wasm build is CPU-bound and slow; main/PR builds
|
# The Wasm target is kept for local builds but is not part of CI:
|
||||||
# only need to prove the web target compiles and bundles.
|
# it is CPU-bound and dominates the pipeline runtime.
|
||||||
gradle \
|
gradle \
|
||||||
:composeApp:desktopTest \
|
:composeApp:desktopTest \
|
||||||
:composeApp:assembleDebug \
|
:composeApp:assembleDebug \
|
||||||
:composeApp:wasmJsBrowserDevelopmentExecutableDistribution \
|
|
||||||
--console=plain
|
--console=plain
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -64,7 +62,6 @@ jobs:
|
|||||||
cp composeApp/build/outputs/apk/debug/composeApp-debug.apk dist/AudioManager.apk
|
cp composeApp/build/outputs/apk/debug/composeApp-debug.apk dist/AudioManager.apk
|
||||||
if [[ "$GITHUB_REF" == refs/tags/* ]]; then
|
if [[ "$GITHUB_REF" == refs/tags/* ]]; then
|
||||||
cp composeApp/build/compose/jars/*.jar dist/AudioManager-desktop.jar
|
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
|
fi
|
||||||
|
|
||||||
- name: Publish release assets
|
- name: Publish release assets
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ gradle :composeApp:run
|
|||||||
# Desktop fat jar
|
# Desktop fat jar
|
||||||
gradle :composeApp:packageUberJarForCurrentOS
|
gradle :composeApp:packageUberJarForCurrentOS
|
||||||
|
|
||||||
# Web bundle
|
# Web bundle (local only, not built by CI)
|
||||||
gradle :composeApp:wasmJsBrowserDistribution
|
gradle :composeApp:wasmJsBrowserDistribution
|
||||||
# composeApp/build/dist/wasmJs/productionExecutable
|
# 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
|
`gitea.tap-tap.win/taptap/audiomanager-client-ci:3`. The image has the Android
|
||||||
SDK, Node, Yarn and a warmed Gradle dependency cache.
|
SDK, Node, Yarn and a warmed Gradle dependency cache.
|
||||||
|
|
||||||
- **main / PR:** run `desktopTest`, build the Android APK and the *development*
|
- **main / PR:** run `desktopTest` and build the Android APK.
|
||||||
Wasm bundle.
|
- **`v*` tag:** additionally build the desktop fat jar, attach the artifacts to
|
||||||
- **`v*` tag:** additionally build the desktop fat jar and the optimized Wasm
|
the Gitea release, and publish the AAB to Play internal testing.
|
||||||
bundle, attach the artifacts to the Gitea release, and publish the AAB to Play
|
- The Wasm target stays in the project for local builds but is **not** part of
|
||||||
internal testing.
|
CI; compiling it dominates the pipeline runtime.
|
||||||
|
|
||||||
Rebuild the CI image after changing `ci/Dockerfile` or dependency versions:
|
Rebuild the CI image after changing `ci/Dockerfile` or dependency versions:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user