Try moving build_platform_jars gradle invocation to shell script
ci/woodpecker/push/docs Pipeline is pending Details
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
Johannes Frohnmeyer 2023-05-05 22:36:10 +02:00
parent 17e89ba829
commit 3aaf7e3652
Signed by: Johannes
GPG Key ID: E76429612C2929F4
3 changed files with 7 additions and 5 deletions

View File

@ -12,10 +12,7 @@ pipeline:
build_platform_jars:
image: git.frohnmeyer-wds.de/johannes/ci-wine
commands:
- gradle --build-cache :launcher-dist:build -Pflavor=fat -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED}
- gradle --build-cache :launcher-dist:build :launcher-dist:jpackage -Pflavor=windows -Ppublic -Pcrosscompile -Ptimestamp=${CI_PIPELINE_STARTED}
- gradle --build-cache :launcher-dist:build :launcher-dist:jpackage -Pflavor=linux -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED}
- gradle --build-cache :launcher-dist:build -Pflavor=macos -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED}
- ./platform_jars.sh
- mv launcher-dist/build/jpackage/*.deb public/inceptum.deb
- mv launcher-dist/build/jpackage/*.msi public/inceptum.msi
- for f in launcher-dist/build/libs/Inceptum-*-*-*.jar; do mv "$f" "public/Inceptum-$${f##*-}"; done

View File

@ -6,7 +6,7 @@ module io.gitlab.jfronny.inceptum.launcher.gtk {
requires org.gnome.gtk;
requires org.gnome.adwaita;
// Should theoretically already be included with inceptum.lacuncher
// Should theoretically already be included transitively through inceptum.launcher and inceptum.common
requires io.gitlab.jfronny.commons;
requires java.desktop;
}

5
platform_jars.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
gradle --build-cache :launcher-dist:build -Pflavor=fat -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED}
gradle --build-cache :launcher-dist:build :launcher-dist:jpackage -Pflavor=windows -Ppublic -Pcrosscompile -Ptimestamp=${CI_PIPELINE_STARTED}
gradle --build-cache :launcher-dist:build :launcher-dist:jpackage -Pflavor=linux -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED}
gradle --build-cache :launcher-dist:build -Pflavor=macos -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED}