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

Add a new CI step for windows environments #2979

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

P-E-P
Copy link
Member

@P-E-P P-E-P commented May 4, 2024

Add a new CI step on Windows to ensure the project compiles on this platform with mingw.

Motivation: During upstreaming process we discovered some dlsym code was incorrectly disabled, the project does not compile using mingw anymore.

@P-E-P P-E-P force-pushed the add_windows_ci branch 8 times, most recently from 08143f7 to 76059e5 Compare May 4, 2024 18:00
@P-E-P P-E-P marked this pull request as ready for review May 4, 2024 18:01
@P-E-P P-E-P marked this pull request as draft May 4, 2024 18:01
@P-E-P P-E-P force-pushed the add_windows_ci branch 6 times, most recently from 7bb7c81 to c7842c7 Compare May 4, 2024 19:40
@P-E-P P-E-P added the CI label May 4, 2024
@P-E-P P-E-P force-pushed the add_windows_ci branch 11 times, most recently from 2549f88 to 17ed2a8 Compare May 7, 2024 18:49
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- uses: actions/checkout@v3
- uses: actions/checkout@v4

--enable-multilib
- name: Build
run: |
make -C gccrs-build -j1 # $(nproc)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gcc could be built in parallel on mingw-w64.

Copy link
Member Author

@P-E-P P-E-P May 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only because I don't have any windows machine, it is longer but build output are not merged, this was not meant to be merged as is but rather as a way to untangle the output from a system I do not use much.

ChangeLog:

	* .github/workflows/ccpp.yml:

Signed-off-by: Pierre-Emmanuel Patry <[email protected]>
@P-E-P
Copy link
Member Author

P-E-P commented May 28, 2024

We'll need #2949

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

Successfully merging this pull request may close these issues.

None yet

2 participants