korlibs / korge

KorGE Game Engine. Multiplatform Kotlin Game Engine
https://korge.org/
Other
2.57k stars 125 forks source link

Explore using remote build cache for test actions in github #2240

Open Kietyo opened 5 months ago

Kietyo commented 5 months ago

Currently taking the free gradle courses in DPE university:

https://dpeuniversity.gradle.com/courses/ec69d0b8-9171-4969-ac3e-82dea16f87b0/activities/1021606f-db03-489b-91e8-915d11c01f4c

image

Enabling remote caching may improve TEST github actions quite substantially.

How to configure:

image
soywiz commented 5 months ago

Though it was enterprise only. It can be configured for free on Github Actions? Could that local {} be used to publish locally and then persist it with Github Actions cache? If you manage to get it working on github, please let us know or make a PR. That would be indeed an awesome addition.

Kietyo commented 5 months ago

You can apparently host your own build cache node:

https://hub.docker.com/r/gradle/build-cache-node/

https://docs.gradle.com/build-cache-node/