Commit Graph

17 Commits (master)

Author SHA1 Message Date
Kevin Turner fdd426aa41
build!: remove 32-bit Windows build (#673)
* build! remove 32-bit Windows build
* build: remove EXE for 32-bit (x86) Windows
* build: remove 'windows32' from asset-upload github workflow

Co-authored-by: Tobias Nett <skaldarnar@gmail.com>
2022-08-22 19:16:34 +02:00
Tobias Nett b449d27088
build(github): update actions (#674) 2022-08-22 00:45:44 +02:00
Tobias Nett 573f95861a
build(ci): enable check-run-reporter for push validation (#606) 2020-10-22 14:42:30 +02:00
Tobias Nett 5a20d1a9b2
ci: upload test report as build artifact (#592) 2020-10-10 16:18:16 +02:00
Tobias Nett 8065ef611f
ci: improve workflow (#591) 2020-10-09 21:57:42 +02:00
Kevin Turner 06d1ba38c3
chore[build]: add TestFX dependency (#587)
* configure GitHub Actions to use TestFX in headless mode
* upgrade JavaFX to 12
2020-10-06 20:01:01 +02:00
Tobias Nett ac15e74d54
chore: Prepare for Java 14 (#566)
* chore: Update Gradle to 6.3

* fix: Java 13 ambigiuous method call

According to https://www.oracle.com/technetwork/java/13-relnote-issues-5460548.html#JDK-8218875
the `null` parameter should be cast to `Classloader` to solve this.

* chore(actions): Run with Java 14 in CI

Co-authored-by: Niruandaleth <jd.rueckert@googlemail.com>
2020-05-06 20:19:06 +02:00
Kevin Turner 9cbcd9b115
feat: Upgrade to Java 11 (#548)
* Full Liberica distribution is required for LibericaFX (javafx)
* Change default JVM arguments for the game
* Drop Linux 32-bit - there's no Liberica full build for it.
* Use gradle-with-sources for better code completion

Co-authored-by: DarkWeird <foxflameless@gmail.com>
Co-authored-by: Tobias Nett <skaldarnar@googlemail.com>
2020-04-28 18:09:10 +02:00
Tobias Nett d3907b50c1
fix(action): Trigger push-validation for PRs (#553) 2020-04-27 11:54:34 +02:00
Tobias Nett 0684c5b571
chore: update gradle and resolve checkstyle warnings (#534)
* update Gradle to 6.2.2
* use code metrics configuration from TeraConfig
* resolve checkstyleTest warnings
* disallow failures when checking with (build should fail if new Checkstyle warnings are
introduced)
* run `gradle check` on push validation
2020-03-28 15:44:48 +01:00
Tobias Nett 4e403baa25
fix(action): restruce asset upload workflow and fix asset path (#519) 2020-03-21 21:00:19 +01:00
Tobias Nett b3a588c5ec
chore(build): Clean up build files (#509)
* Remove unused `createPatch` from `build.gradle`

Although we want to have automatic launcher updates, preferably with
some way to update by patching, the current approach is outdated and
would need adaption for multi-platform builds.
Removing it now, but maybe we can salvage some bits and pieces later.

* Move `createRelease` task to `config/gradle/jre.gradle`

This task is merged with `allDistZip` as they shared the same purpose.
The corresponding release Github Action is also updated to use
`gradlew createRelease` instead.

Signed-off-by: Tobias Nett <skaldarnar@googlemail.com>
2020-03-15 11:36:14 +01:00
Tobias Nett 96e1ecd0f6
chore(actions): Build and upload assets on release (#497)
This action triggers when a release is published (Github event). The tagged commit is checked out and all assets are build using `gradlew allDistZip`.
This builds the zip bundles for all platforms we currently supports.

The resulting assets are uploaded to the release, where they can be downloaded by users.
2020-03-10 22:01:53 +01:00
Tobias Nett 2c2db623c6
chore(actions): Add `release-drafter` action (#496)
Adds the [`release-drafter` action](https://github.com/release-drafter/release-drafter) to this repository.
It listens on PRs merged to `master` and updates a _draft release_ based on the changes.

If a PR has the label `Topic: CI/CD` when being merged it will be excluded from the draft changelog.
2020-03-10 20:30:50 +01:00
jdrueckert de2cff4d47
fix: push validation (#495)
- run `.gradlew test` instead of `./gradlew build` to avoid dist tasks
- rename action and job
- update checkout action version to v2
2020-03-10 20:00:47 +01:00
Tobias Nett 162c384ae5
Enable Github actions (#482) 2019-11-22 23:14:22 +01:00
manu3d dbed81d29f
Added Pull Request Template 2018-03-26 00:27:57 +02:00