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

Fix CMake syntax for variable expansion #3777

Merged
merged 1 commit into from
Jul 6, 2022
Merged

Conversation

hs-apotell
Copy link
Collaborator

When using variables to compare (like in if clause) the variable
shouldn't be quoted. More details can be found at the link below:

https://cmake.org/cmake/help/latest/command/if.html#variable-expansion

Signed-off-by: HS hs@apotell.com

When using variables to compare (like in if clause) the variable
shouldn't be quoted. More details can be found at the link below:

https://cmake.org/cmake/help/latest/command/if.html#variable-expansion

Signed-off-by: HS <hs@apotell.com>
@hs-apotell
Copy link
Collaborator Author

@parrt Any reason why there's no Windows check build for Cpp runtime? I was looking thru' the CI as to why these issues go unnoticed and never get caught in CI. I am not seeing a Cpp runtime CI check build for Windows.

https://github.com/antlr/antlr4/actions/runs/2624274002

@hzeller
Copy link
Contributor

hzeller commented Jul 6, 2022

I think @parrt would be happy if there was a contribution for a Windows CI ...

@parrt
Copy link
Member

parrt commented Jul 6, 2022

Heh, thanks! @KvanTTT have you had any luck with CI for windows & C++?

@parrt parrt merged commit f6c29b6 into antlr:dev Jul 6, 2022
@hs-apotell
Copy link
Collaborator Author

Is there a reason (apart from not finding a volunteer) Windows CI for runtime Cpp was excluded? Was it attempted and have known issues?

@hs-apotell hs-apotell deleted the syntax branch July 6, 2022 23:07
@ericvergnaud
Copy link
Contributor

ericvergnaud commented Jul 7, 2022 via email

@KvanTTT
Copy link
Member

KvanTTT commented Jul 7, 2022

I've already wrote I don't know how to install msbuild on CI machine: #3725 (comment) It requires admin access. Also, I don't have access to Windows CI self-hosted server.

Except of that, there are no other problems with Windows C++ tests, they should work. At least they work fine locally (PATH should be set up to msbuild directory).

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

Successfully merging this pull request may close these issues.

5 participants