Add Windows and macOS to CI build matrix and fix cross-platform issues#293
Open
addwes7 wants to merge 1 commit into
Open
Add Windows and macOS to CI build matrix and fix cross-platform issues#293addwes7 wants to merge 1 commit into
addwes7 wants to merge 1 commit into
Conversation
|
您的邮件已收到!
|
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.
What is the purpose of this PR
Expand the GitHub CI workflow to run on Ubuntu, Windows, and macOS instead of only Ubuntu.
Expected results
The project builds successfully on Ubuntu, Windows, and macOS using JDK 8 while preserving the original build behavior.
Actual results
Running the original workflow on additional operating systems exposed platform-specific issues:
ubuntu-latest.Description of fix
ubuntu-latest,windows-latest,macos-latest).-DskipTests=trueand-Dmaven.javadoc.skip=true) intoMAVEN_OPTSto avoid platform-specific command-line parsing issues.actions/setup-java@v4with Zulu JDK 8.java-version: 1.8configuration withjava-version: 8for compatibility with the newer setup action.