feat: workflow build in windows msys2#1799
Merged
Barenboim merged 1 commit intosogou:windowsfrom Dec 1, 2025
Merged
Conversation
Contributor
|
Thanks! |
Author
|
hi好久不见,在上一次我在workflow中PR了支持MINGW。 不知不觉中过了有一年了,在这一年我对msys2的开发更加熟练,在此为你们分享msys2的构建流水线,并且它是支持ninja编译的。 其中,我将MINGW的CMAKE的C++14版本改为了C++17,是为了使用gtest,如果需要低版本的C++14,只要不编译test即可。 |
Contributor
多谢多谢。我们都感觉很对不起Windows用户。实在是对Windows支持不够了。非常感谢帮我们完善。 |
Author
好快的合入哈哈哈哈。 前段时间在Q群有群友希望能够获取在windows编译后的库,当时就想弄了,一直忘记了。 考虑到安全性,因此官方来发布这个库会更符合流程。 |
Author
后续如果有机会,可以考虑使用 cygwin来编译。 |
Contributor
|
支持posix api还是不够的,我们需要用epoll或kqueue,cygwin用unix api肯定是用不了的。
…------------------ Original ------------------
From: Yundi339 ***@***.***>
Date: Mon,Dec 1,2025 10:39 PM
To: sogou/workflow ***@***.***>
Cc: xiehan ***@***.***>, State change ***@***.***>
Subject: Re: [sogou/workflow] feat: workflow build in windows msys2 (PR #1799)
Yundi339 left a comment (sogou/workflow#1799)
多谢多谢。我们都感觉很对不起Windows用户。实在是对Windows支持不够了。非常感谢帮我们完善。
后续如果有机会,可以考虑使用 cygwin来编译。
我前段时间在研究iperf,发现iperf-win采用的是cygwin编译,而cygwin有挺完整的unix posix api,支持fork select。虽然可能可以直接编译使用,但是我查了一下fork select不如原生的win32。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
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.
example:
https://github.com/Yundi339/workflow/actions/runs/19825547502