Skip to content

Runtime tests fixes (C++, Python, PHP, C#) - #3725

Merged
parrt merged 8 commits into
antlr:devfrom
KvanTTT:runtime-tests-fixes
Jun 5, 2022
Merged

parrt merged 8 commits into
antlr:devfrom
KvanTTT:runtime-tests-fixes

Conversation

@KvanTTT

@KvanTTT KvanTTT commented May 27, 2022

Copy link
Copy Markdown
Member
  • Set up C++ runtime tests on Windows
  • Add scripts for testing C++ on Windows
  • Fix python and php tests running from IDE

KvanTTT added 2 commits May 26, 2022 19:58
Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
@KvanTTT
KvanTTT force-pushed the runtime-tests-fixes branch 2 times, most recently from 830b10f to e69088b Compare May 27, 2022 13:54
…nfrastructure

Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
@KvanTTT
KvanTTT force-pushed the runtime-tests-fixes branch 2 times, most recently from cdbc224 to ef439c3 Compare May 27, 2022 14:18
@KvanTTT

KvanTTT commented May 27, 2022 •

Copy link
Copy Markdown
Member Author

Unfortunately I can't install msbuild on Windows using chocolatey because of denied access

C:\ProgramData\chocolatey\bin\cinst.exe visualstudio2022-workload-vctools -y

@parrt @ericvergnaud is it possible to install free Visual Studio Community 2022 or execute abovementioned command on self-hosted Windows machine?

@parrt

parrt commented May 28, 2022

Copy link
Copy Markdown
Member

@parrt @ericvergnaud is it possible to install free Visual Studio Community 2022 or execute abovementioned command on self-hosted Windows machine?

is ok with me if machine has disk space.

@KvanTTT

KvanTTT commented May 28, 2022

Copy link
Copy Markdown
Member Author

But I can't do it since I don't have access to the machine and it's self-hosted :)

@parrt

parrt commented May 28, 2022

Copy link
Copy Markdown
Member

Yep, waiting to hear from @ericvergnaud :)

KvanTTT added 5 commits June 5, 2022 14:56
Drop old version of Visual Studio C++ (2013, 2015, 2017), fixes antlr#3723

Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
…g ANTLR runtime (at least much less size of binary)
Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
Since it looks like MSBuild installing requires admin privileges
@KvanTTT
KvanTTT force-pushed the runtime-tests-fixes branch from daf37f6 to 7fc0d4d Compare June 5, 2022 11:56
@KvanTTT

KvanTTT commented Jun 5, 2022 •

Copy link
Copy Markdown
Member Author

I temporary disabled C++ tests on Windows. @parrt I suggest merging since the request fixes Windows C++ projects (runtime and demo), the tests can be enabled later. Also, please don't squash my commits because I always put them in order, every commit fixes a problem (use rebase or merge).

@parrt

parrt commented Jun 5, 2022

Copy link
Copy Markdown
Member

Looks like excellent work, @KvanTTT thanks!

@parrt

parrt commented Jun 5, 2022

Copy link
Copy Markdown
Member

It looks like some of the commits did not have DCO but I forced it

@ericvergnaud

Copy link
Copy Markdown
Contributor

Have you tried actions/setup-dotnet@v1 ?
I believe it contains MSBuild

@KvanTTT

KvanTTT commented Jul 7, 2022 •

Copy link
Copy Markdown
Member Author

No, but I almost sure it won't help since dotnet doesn't use msbuild.

@ericvergnaud

ericvergnaud commented Jul 7, 2022 via email

Copy link
Copy Markdown
Contributor

@KvanTTT

KvanTTT commented Jul 8, 2022

Copy link
Copy Markdown
Member Author

Ok, even so, such msbuild doesn't have required c++ libraries.

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.

3 participants