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

GHA: Add Windows MSVC GUI builds #1090

Merged
merged 3 commits into from
Dec 12, 2024
Merged

GHA: Add Windows MSVC GUI builds #1090

merged 3 commits into from
Dec 12, 2024

Conversation

tleedjarv
Copy link
Contributor

The new opam recently allowed us to add Windows MSVC builds, just without the GUI. With the help of some minimal patching (which unfortunately has to live in the GHA workflow for as long as the patches have not been integrated upstream), I've now managed to build cairo2 and lablgtk3 with MSVC. Together with Win-native GTK (which is built when necessary by the workflow using gvsbuild), this finally enables full MSVC builds with GUI.

This PR also includes a new GTK packaging script which does not need a POSIX shell.

.github/workflows/CI.yml Outdated Show resolved Hide resolved
@gdt
Copy link
Collaborator

gdt commented Dec 8, 2024

Yes, btu the answer is we dont't know, try them both and report back on the list. I don't want to not do something that makes sense because somebody else can't handle it.
if that's an issue, I would jsut as soon ditch proprietary toolchain builds all together.

@tleedjarv
Copy link
Contributor Author

I propose to separate this question from the PR and postpone it. It is not directly relevant for the core of this PR. I will soon push an update.

A recent dune release uncovered issues with pkgconf (required by cairo2
and lablgtk3) which break some builds. In the current workflow, builds
on ubuntu-20.04 and with MSVC are affected. Since we don't rely on
pkgconf, we can just remove it and let dune fall back to pkg-config.
For MSVC builds we can go even further and try to remove Cygwin from
the build environment as much as possible.
@gdt gdt merged commit 6514fbf into bcpierce00:master Dec 12, 2024
31 checks passed
@tleedjarv tleedjarv deleted the gha-msvc branch December 12, 2024 16:27
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.

2 participants