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 support for GitHub Actions #311

Merged
merged 3 commits into from Oct 2, 2020

Conversation

sergeyklay
Copy link
Collaborator

Hello,

This PR adds Windows with Visual Studio 16 2019 to the build matrix on GitHub Action. There still a lot of work, e.g. provide ability to run tests, compiler flags definition and so on. But right now it works. I'll try to improve Windows builds a bit later.

We do not use the functionality provided by FindBISON e.g. BISON_TARGET and
so on.  All we need below is BISON_EXECUTABLE.  Thus, I replaced find_package
by find_program and set BISON_EXECUTABLE explicitly.  This is also fixes
searching executables on Windows systems.
Copy link
Owner

@skvadrik skvadrik left a comment

Choose a reason for hiding this comment

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

Thanks! I have a few comments for CMakeList.txt changes related to bison.

CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
@skvadrik
Copy link
Owner

skvadrik commented Oct 2, 2020

By the way, it's the first time I use GitHub review tool, it seems a recent addition. Not bad!

@skvadrik skvadrik merged commit fdebdff into skvadrik:master Oct 2, 2020
@skvadrik
Copy link
Owner

skvadrik commented Oct 2, 2020

Merged, thank you!

@sergeyklay sergeyklay deleted the windows-support branch October 2, 2020 09:41
@sergeyklay
Copy link
Collaborator Author

You're welcome :)

sergeyklay added a commit to sergeyklay/re2c that referenced this pull request Oct 2, 2020
After discussion in
skvadrik#311 (comment),
I decided to double-check this approach again and made sure that it
actually works.
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.

None yet

2 participants