25 Commits
Author SHA1 Message Date
UltraProdigy bdd8977182 ci: run build and test on release branches 2026-11-09 02:38:08 -05:00
Raven Szewczyk 05882a56a0 Fix wrong shared actions branch 2023-02-01 16:24:02 +00:00
Raven Szewczyk 1d5c51c7b8 RetroFuturaGradle port (#109)
* Update gradlew to 7.6

* Minimal changes to not crash when loading RFG instead of FG, remove some no longer necessary workarounds

* Update gradlew to 8.0-rc-1

* Fix build.gradle IntelliJ warnings, use configuration avoidance api for faster gradle startup

* Fix crash in processResources due to file duplication with the implicit from() block

* Working runClient/runServer

* Use RFG's jar/reobfJar instead of hacks around FG's sometimes reobfed jar

* Fix spotless using the wrong sourcesets

* Fix publishing issues

* Bring back jvm8 compatibility

* Add documentation to `dependencies.gradle`

* Add `compile` config backwards compat with a deprecation notice

* Add AT support

* Add IDEA config

* Add a testCompile backwards compat configuration

* Maven and mixin fixes

* Squash more publishing bugs

* Bump settings.gradle commits

* Switch gradle distribution back to bin

* Add a mod buildscript&gradle updating helper script (temporary, remove before merging)

* Rerun actions

* Add IJ-native run configs, pass javac options

* Switch the default tag injection mechanism to a generated class

* Bump the RFG version

* Inject coremods in intellij-native run configurations

* Update gradle to 8.0-rc-2

* Bump RFG version

* Fix missing toolchain provider in Gradle 8

* Make minimization of shadow jars optional, fix missing runClient->shadowJar dependency

* Update RFG, enable assertions only in the current mod, update gtnhmixins, configure idea projects after all jvm args are set up

fixes <https://github.com/GTNewHorizons/RetroFuturaGradle/issues/1>

* Add a workaround for repackaged CCL not finding mappings

* Remove the silly 1.7.10- prefix to all mod versions, it's stripped in publishing anyway

* wip: Jabel

* Add opt-in Jabel support for Java 17 syntax compiled to Java 8 bytecode

* Point actions to the rfg branch

* Configure the IDEA inspection to ban Java 9+ standard library usage

* Remove inspectionProfiles, they seem to not work after all

* Add optional generic injection settings from RFG

* Move updated spotless configs to `gtnhShared`

* Downgrade gradlew to 7.6 from the RC versions

* Spotless apply with the new settings

* Cleanups before the PR is ready to review

* Bump RFG to fix Windows path escaping in Java code
2023-01-28 21:58:52 +00:00
Raven SzewczykandConnor-Colenso 87e65c226a Use shared github actions workflows (#35)
* Use shared github actions workflows

* Oops, switched the conditions around

Co-authored-by: Connor-Colenso <[email protected]>
2022-07-12 21:45:21 +07:00
52bb73b6fd shellcheck (#23)
* shellcheck

* fix(script): shellcheck and refactor

* fix(scripts): rename snake_casing no .sh

Follows Google's Shell Style Guide:
https://google.github.io/styleguide/shellguide.html

Script names must use snake_casing

Remove the `.sh` extension on `chmod +x` scripts because
the shell interpreter choice is in the shebang.

The `.sh` extension is to be maintained for sourced scripts because
those are not stand-alone executables:

```sh
. sourced_script.sh # . sourcing
source sourced_script.sh # alternate syntax
```

* decomp

* Stay CI

Co-authored-by: Léa Gris <[email protected]>
Co-authored-by: Martin Robertz <[email protected]>
2022-02-20 18:02:33 +01:00
bombcar a71130d437 Kotlin (#19)
* spaces

* revert kotlin ver

* more framework for kotlin

* make it available to external consumers

* vscode

* update scripts to properly catch broken runserveR

* editor config

* fix recursive zips

* improve

* update links

* more cleanup
2022-02-14 15:44:40 -06:00
Dmytro be36e1399d Merge pull request #51 from SinTh0r4s/setup-publishing-configuration
add publish configuration for github
2021-12-15 20:53:06 +02:00
Telan 2c72a3924d ci: update publishing in release-tags.yml workflow; revert build-and-test.yml 2021-12-13 17:29:40 +02:00
Telan 5af85c307d buildscript: fix artifact id and group id being incorrect 2021-12-13 17:20:27 +02:00
Telan 659ad055d4 buildscript: configure publication with correct parameters 2021-12-13 17:09:06 +02:00
Telan fae84dcbe0 ci: fix typo 2021-12-13 16:41:56 +02:00
Telan 5e3126770e ci: fix typo 2021-12-13 16:37:34 +02:00
Dmytro 2b14550d8f fix test publish 2021-12-13 16:19:11 +02:00
Dmytro 1420dfb862 cI: fix test publish 2021-12-13 16:10:34 +02:00
Dmytro 0979732423 ci: test publishing 2021-12-13 16:03:17 +02:00
Dmytro 71fb844748 ci: decrease server run time in test 2021-12-13 15:52:20 +02:00
Dmytro bec70198b8 fix workflow referencing moved file 2021-12-13 15:51:02 +02:00
Dmytro 74d9da327a ci: increase server running period during tests 2021-12-13 15:36:34 +02:00
Dmytro fb3beeb4db ci-persist-server-log-in-test-run 2021-12-13 15:27:18 +02:00
Dmytro af18a3d24e fix timeout in server run 2021-12-01 22:39:15 +02:00
Telan 3d6187a192 ci: also run build and test on main branches; adjust naming 2021-11-21 21:23:52 +02:00
Telan 7a003806b8 Merge branch 'automatic-release-only-on-tags' into ensure-decompilation-tasks-use-toolchain
# Conflicts:
#	.github/workflows/release-packages-tags.yml
2021-11-21 21:22:06 +02:00
Telan c46bab50ce ci: fix timeout step failing
We don't want to fail on timeout, it's probably good if job didn't stop before timeout was reached, which means server is still working
2021-11-21 21:09:01 +02:00
Telan 09410d48d0 ci: refine naming 2021-11-21 21:01:07 +02:00
Telan f6d48a2287 ci: fix naming in toolchain-compatibility.yml; rename pull-request.yml -> build-and-test.yml; add server run check to build-and-test.yml 2021-11-21 20:58:13 +02:00