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

introduce Docker as a compilation method #1308

Merged
merged 1 commit into from
Jan 3, 2025
Merged

Conversation

Ramen2X
Copy link
Member

@Ramen2X Ramen2X commented Jan 2, 2025

I frequently get asked if it's possible to build the project on Linux and macOS hosts. It always has been possible; many contributors have used and do use a workflow with Wine on non-Windows platforms, but the manual configuration for this setup has never been officially documented and is a bit cumbersome. I've been thinking about ways to address this over the course of the project, but I haven't sat down and fleshed it out until now.

This PR introduces Docker as a method of compilation. I've written a Dockerfile and accompanying shell script to create a Docker image that has MSVC 4.20 and CMake pre-configured properly with Wine under Debian. I've already built the image and pushed it to ghcr.io under our organization, so all end users have to do to build the project under Linux and macOS hosts is to use our provided docker run command, where they can simply pass paths and CMake flags to the container.

Let me know if anyone has any objections or questions!

@Ramen2X Ramen2X merged commit 3e5967f into isledecomp:master Jan 3, 2025
12 checks passed
@Ramen2X Ramen2X deleted the docker branch January 3, 2025 00:16
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