plugdata-team / plugdata-heavy-toolchain

PyInstaller CI builds for the hvcc/Heavy compiler for Pd
GNU General Public License v3.0
6 stars 2 forks source link

update hvcc and add dpf-widgets #27

Closed dromer closed 1 month ago

dromer commented 5 months ago

Still not sure to what extend we can start building UI with dpf-widgets, but at least we can start trying stuff (and code export works).

dromer commented 5 months ago

Needs a bit more testing before merge.

dromer commented 2 months ago

Heuhm, trying to update to latest hvcc release and somehow the pyinstaller build exploded o.O

The only dependency I added was pydantic, but that shouldn't add a whopping +100MB to the size ..

dromer commented 2 months ago

Looking at moving hvcc to poetry and using the poetry-pyinstaller-plugin this gives a result that's more like expected. Will need a bit of work to integrate it with the toolchain though.

dromer commented 2 months ago

Test going on here: https://github.com/Wasted-Audio/hvcc/pull/199

Creates a single binary that does everything. I also found the culprit for the generators needing an additional import.

dromer commented 2 months ago

Hmm, Windows builds fail due to number of files: https://github.com/Wasted-Audio/plugdata-heavy-toolchain/actions/runs/11065615856

Error: EMFILE: too many open files, open 'D:\a\plugdata-heavy-toolchain\plugdata-heavy-toolchain\Heavy\usr\share\perl5\core_perl\Test\Tester\Capture.pm'

dromer commented 2 months ago

So other than Windows archive upload this all should work.

Any suggestion on how to fix this? Recommendation is to first zip the target dir, but then we need another step to unpack it on the plugdata side.

timothyschoen commented 1 month ago

Looks like this is now fixed by Github: https://github.com/actions/upload-artifact/issues/485

timothyschoen commented 1 month ago

Nice though, upload-artifact@v4 should really speed it up

timothyschoen commented 1 month ago

Perhaps we could find a way to speed up the Windows build still... It spends half of the time downloading and extracting minGW. Feels like that could be faster

dromer commented 1 month ago

yeah it takes quite a long time!