niklas2902 / py4godot

Python scripting for Godot. This GDExtension plugin allows you to use Python like GDScript, accessing the Godot engine's features and benefiting from Python's vast ecosystem.
MIT License
64 stars 7 forks source link

How to have files needing ~4 hours to generate to be provided as part of nightly CI/CD? #51

Closed GeorgeS2019 closed 2 months ago

GeorgeS2019 commented 2 months ago

Please note that this takes a while (4 hours for me).

How could users avoid this 4 hours pain?

niklas2902 commented 2 months ago

I'm sorry, I will look into this. It is a bit unfortunate, because I need Cython to compile code for all 800+ classes exposed by Godot and that is what takes so long. In the past I failed to combine all classes into a single file due to memory restrictions. I will try to create a minimal version with only 50 or 100 classes. This should make everything more workable

sairam4123 commented 2 months ago

Please note that this takes a while (4 hours for me).

How could users avoid this 4 hours pain?

You could probably try caching those files and reuse them?

niklas2902 commented 2 months ago

I implemented now a build for less files and use caching.