-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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 #20281
add windows ci #20281
Conversation
cc @hramos |
appveyor.yml
Outdated
- sdkmanager "extras;android;m2repository" | ||
|
||
- ps: Install-Product node $env:nodejs_version | ||
- npm install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest doing appveyor-retry npm
to make it resilient against intermittent network issues. I added this in the react-native-windows AppVeyor configuration to eliminate a not-uncommon source of flakiness. https://github.com/Microsoft/react-native-windows/blob/master/appveyor.yml#L40
You may also want to add appveyor-retry npm install npm@lts
as the first command. We also did that to combat flakiness around the npm 5 era.
Right now, the build doesn't get to Is that what we expect? Can we up the logging level so the error is more detailed and easier for users without a local Windows instance to reason about? |
I love how clean this is with things extracted into variables, btw. Great job! 🥇 |
The failure is expected, since the windows issue still exists. Hopefully @rafeca can fix facebook/metro#181 today. The gradle error message in most case in sufficient. |
@hramos Can you enable appveyor for react native, I want to add the badge in README.md. |
Enabled. |
a9b6f93
to
420c61f
Compare
@hramos I have updated README.md. Do you plan to merge this or after have the windows build fixed ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
This pull request was closed by @gengjiawen in 1b2a552. Once this commit is added to a release, you will see the corresponding version tag below the description at 1b2a552. If the commit has a single |
Motivation
Add windows ci
Test Plan
pass all current ci.
Related PRs
none
Release Notes
[GENERAL] [INTERNAL] [CI] - add windows ci