You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently building a custom wine for Affinity products that need some custom patches.
I noticed there could be some improvements made to improve build time. I listed them below. I can work on PRs for them, but I wanted to discuss if we even wanted them in this repo first.
Cache the wine-git and wine-staging pulls. This removes the need to pull them every time.
Your scripts already check if it exists, and updates them appropriately.
Create base images with all the dependencies already installed.
One of the biggest time consuming aspects is downloading and setting up dependencies, even on Arch where it is the fastest.
For all 3 platforms, create a base builder image, that has a script that just installs dependencies and sets them up right. It can piggy back on the deps script or something.
This can shave 5-10 mins off each build, and the builder image can be rebuilt once week, or even once a month. Or if there is a security issue, do a workflow dispatch build.
I have done something similar with https://github.com/daegalus/wine-builder which is an image that has all the deps and pre-requisites to build a wine, but skips all the dep downloads as they are in the image. This saves time, and resources.
Let me know if you would like these changes, and I can work on PRs to add them.
The text was updated successfully, but these errors were encountered:
I am currently building a custom wine for Affinity products that need some custom patches.
I noticed there could be some improvements made to improve build time. I listed them below. I can work on PRs for them, but I wanted to discuss if we even wanted them in this repo first.
deps
script or something.I have done something similar with https://github.com/daegalus/wine-builder which is an image that has all the deps and pre-requisites to build a wine, but skips all the dep downloads as they are in the image. This saves time, and resources.
Let me know if you would like these changes, and I can work on PRs to add them.
The text was updated successfully, but these errors were encountered: