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 a GHA Windows test workflow? #50489

Open
jsumners opened this issue Oct 31, 2023 · 13 comments
Open

Add a GHA Windows test workflow? #50489

jsumners opened this issue Oct 31, 2023 · 13 comments

Comments

@jsumners
Copy link
Contributor

When pull requests are opened/updated in this repo the following workflows are automatically run:

But there isn't a corresponding Windows workflow. This is causing a bit of headache for at least me in PR #48740. I don't have a Windows system to test on, but the PR needs to pass on Windows. The only way to get the PR to get run against a Windows system is for someone with privileges to add the needs-ci tag to the PR, and then it takes someone familiar with Jenkins, or at least the org's Jenkins setup, to find what the error is.

Given all of that, why isn't there a GitHub Actions workflow that runs the tests on Windows?

@richardlau
Copy link
Member

Given all of that, why isn't there a GitHub Actions workflow that runs the tests on Windows?

Nobody has volunteered to implement one (i.e. no follow up to #32450 (comment)).

@jsumners
Copy link
Contributor Author

🙁

Is there no one with Windows knowledge on the core team that could add it?

@bnoordhuis
Copy link
Member

"Vested interest" is probably a better choice of words than "knowledge."

I suspect the vast majority of regular contributors run Linux or macOS, not Windows. If you want to see it happen, send a pull request.

@jsumners
Copy link
Contributor Author

I have zero knowledge of building this thing in Windows. My only interest is in seeing validation on PRs without the overhead outlined above.

@H4ad
Copy link
Member

H4ad commented Nov 1, 2023

I have a Windows machine, I can help with that, I just need some direction on it, if you can add some issues/docs about how is working today, I can start from that, otherwise, I will try dig into the current GHA to see how it works.

Also, do we have resources to run on Windows? I mean, I don't know if we use Runners from Github or if we run on our infrastructure.

@richardlau
Copy link
Member

@H4ad We have our own infrastructure but that's only used for the Jenkins CI. For anything running on GitHub actions we use the standard runners.

@jsumners
Copy link
Contributor Author

jsumners commented Nov 1, 2023

Thank you @H4ad.

@targos
Copy link
Member

targos commented Nov 1, 2023

@richardlau
Copy link
Member

Also https://github.com/nodejs/node/blob/main/.github/workflows/build-windows.yml. Ideally replace this with a test-windows workflow.

@H4ad
Copy link
Member

H4ad commented Nov 2, 2023

Just for education purposes, what makes the CI run except for the on property? I ask this because I thought the coverage-windows should run by default on PRs but is not the case.

@targos
Copy link
Member

targos commented Nov 2, 2023

coverage-windows doesn't run because it is currently disabled: #50049

@bcoe
Copy link
Contributor

bcoe commented Jul 25, 2024

Edit: @targos @richardlau just noting that as of the time of this comment Coverage Windows is disabled manually again:

Screenshot 2024-07-25 at 9 39 04 AM

@richardlau
Copy link
Member

richardlau commented Jul 25, 2024

@bcoe Building on Windows with the latest Visual Studio (i.e. the one in the GitHub Action runners) is broken due to a compiler bug.

Refs: nodejs/build#3739
Refs: #53863

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 a pull request may close this issue.

6 participants