Add jpackageZip and Github actions for publishing binaries

This commit is contained in:
Edwin Jakobs
2020-05-17 11:00:48 +02:00
parent 896a8629fa
commit f391fed255
6 changed files with 157 additions and 24 deletions

View File

@@ -12,7 +12,13 @@ You will find some [basic instructions](https://guide.openrndr.org/#/02_Getting_
- `run` runs the TemplateProgram
- `jar` creates an executable platform specific jar file with all dependencies
- `zipDistribution` creates a zip file containing the application jar and the data folder
- `jpackageZip` creates a zip with a stand-alone executable for the current platform (works with Java 14 only)
## Cross builds
To create runnable jars for a platform different from the platform you use to build one uses `./gradlew jar --PtargetPlatform=<platform>`. The supported platforms are `windows`, `macos`, `linux-x64` and `linux-arm64`. Note that the `linux-arm64` platform will only work with OPENRNDR snapshot builds from master and OPENRNDR 0.3.39 (a future version).
## Github Actions
This repository contains a number of Github Actions in `./github/workflows`.
The actions enable a basic build run on commit, plus publication actions that are executed when
a commit is tagged with a version number like `v0.*` or `v1.*`.