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 Windows CI to our GitHub build workflow #122

Open
tsjensen opened this issue Nov 28, 2023 · 4 comments
Open

Add Windows CI to our GitHub build workflow #122

tsjensen opened this issue Nov 28, 2023 · 4 comments

Comments

@tsjensen tsjensen mentioned this issue Nov 28, 2023
@mathomp4
Copy link
Contributor

I suppose one could also use WSL via:

https://github.com/marketplace/actions/setup-wsl

or what I'm sure are several other ways...

@tsjensen
Copy link
Member Author

tsjensen commented Dec 3, 2023

@tsjensen
Copy link
Member Author

So, I have tried adding Windows CI, but I am stuck. My current try is on the windows-ci branch (CI job). We use MINGW32 because that's how we've always done it, but I would be open to different platforms as long as the result is a stand-alone Windows binary that does not require extra libs or runtime.

Status:

  • I can install all the dependencies.
  • The code does not compile:
    • Including sys/stat.h leads to error: #error unimplemented for this target.
      Tried to remedy via undefining _POSIX_TIMERS but to no avail.
    • strdup() is not defined. Tried to remedy via __MISC_VISIBLE but to no avail.
    • ... you'll find more problems for sure.

I am currently out of ideas on how to make this work.

Any help would be much appreciated!

@tsjensen
Copy link
Member Author

By the way, I can create perfectly fine Windows binaries on my machine. So it is possible.

image

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

No branches or pull requests

2 participants