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 MS Windows support #108

Merged
merged 9 commits into from
Feb 25, 2024
Merged

Add MS Windows support #108

merged 9 commits into from
Feb 25, 2024

Conversation

astrocox
Copy link
Contributor

@astrocox astrocox commented Feb 23, 2024

This should work with either MSVC or clang-cl. I've tested that the build and some example programs work on Ubuntu 22.04 and Windows 11 (both x64), but I can't run all the tests without a sever endpoint set and I don't have a Mac to test against, so there might still be some problems to fix after CI runs.

If the team is okay with moving forward with Windows support, I'd also be happy to add CI workflow steps for the build and tests and update the vcpkg port!

Copy link
Member

@balamurugana balamurugana left a comment

Choose a reason for hiding this comment

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

Please add github workflow for Windows.

@astrocox
Copy link
Contributor Author

@balamurugana I now have the minio server running in my windows environment so I can successfully run tests.exe locally. I mirrored my local setup in the new github actions workflow, so I think there is at least a chance it will work in CI! 🤞🏻

* Disable spammy choco progress logging

* Fix windows test bin bath
include/utils.h Outdated Show resolved Hide resolved
src/utils.cc Outdated Show resolved Hide resolved
tests/tests.cc Outdated Show resolved Hide resolved
src/utils.cc Outdated Show resolved Hide resolved
@balamurugana balamurugana changed the title Windows build compatibility Add MS Windows support Feb 25, 2024
@balamurugana balamurugana merged commit 0c9f75d into minio:main Feb 25, 2024
3 checks passed
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