Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build GTK3 and GTK4 in Parallel #745

Merged
merged 4 commits into from
Dec 4, 2022
Merged

Build GTK3 and GTK4 in Parallel #745

merged 4 commits into from
Dec 4, 2022

Conversation

danyeaw
Copy link
Member

@danyeaw danyeaw commented Nov 23, 2022

This PR builds GTK3 and GTK4 in parallel in order to add GTK4 build coverage.

I did attempt to do it in multiple stages with building the common portions first, but the supported way to do this had major performance issues using the actions/upload-artifact and actions/download-artifact GH Actions.

Putting the gvs-build directory in a tar was quick, but uploading took 15min. Compressing the directory using zstandard took greater than 30min, with similar long times with 7zip and gunzip. It looks like others have had these issues as well with actions/upload-artifact#199

I also removed pycairo and pygobject from the build pipeline because I don't think they are strictly necessary to test with the build now that installing them from PyPI is working.

Overall build time went down from 1hr to 34min with this change.

@danyeaw danyeaw force-pushed the gtk4-ci-parallel branch 3 times, most recently from 554b836 to ba6ee8e Compare November 26, 2022 02:08
@danyeaw danyeaw requested a review from nacho December 4, 2022 13:06
@pbor pbor merged commit 69c9d41 into main Dec 4, 2022
@danyeaw danyeaw deleted the gtk4-ci-parallel branch December 4, 2022 19:31
@danyeaw
Copy link
Member Author

danyeaw commented Dec 4, 2022

Even though this build worked great, I noticed we got another stuck build:
https://github.com/wingtk/gvsbuild/actions/runs/3614399747/jobs/6090805000

I am going to make the GTK4 build passing optional until we figure out why this is flakey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants