Add Docker matrix build workflow for cross-platform CI/CD#2
Merged
cracked-machine merged 2 commits intomainfrom Sep 19, 2025
Merged
Conversation
Co-authored-by: cracked-machine <7586660+cracked-machine@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add workflow to run matrix Docker builds on all branches and upload build artifacts
Add Docker matrix build workflow for cross-platform CI/CD
Sep 19, 2025
Copilot stopped work on behalf of
cracked-machine due to an error
September 19, 2025 14:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a comprehensive Docker-based matrix build workflow that enables automated cross-platform builds for all configurations and architectures.
Changes Made
New Docker Matrix Build Workflow
.github/workflows/docker-matrix-build.ymlthat runs on all branches for both push and pull request eventsDockerfile for Consistent Build Environment
Dockerfileat repository root based on the existing.devcontainer/DockerfileFixed Windows Cross-Compilation Issues
cmake-x86_64-w64-mingw32.cmakethat was causing build failures during CMake configurationlibstdc++-6.dll,libgcc_s_seh-1.dll) for Windows builds after the build directory is createdBenefits
Validation
All build combinations have been tested successfully:
CppTestAppexecutableCppTestApp.exewith required DLLsThe workflow is ready for immediate use and will provide comprehensive build validation for all future changes.
This pull request was created as a result of the following prompt from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.