Skip to content

add windows ci - #20281

Closed
gengjiawen wants to merge 8 commits into
react:masterfrom
gengjiawen:feature/appveyor
Closed

add windows ci#20281
gengjiawen wants to merge 8 commits into
react:masterfrom
gengjiawen:feature/appveyor

Conversation

@gengjiawen

@gengjiawengengjiawen commented Jul 18, 2018

Copy link
Copy Markdown
Contributor

Motivation

Build status
Add windows ci

Test Plan

pass all current ci.

Related PRs

none

Release Notes

[GENERAL] [INTERNAL] [CI] - add windows ci

@facebook-github-botfacebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 18, 2018
@gengjiawengengjiawen mentioned this pull request Jul 18, 2018
@react-native-botreact-native-bot added ✅Test Plan Missing Changelog This PR appears to be missing a changelog, or they are incorrectly formatted. labels Jul 18, 2018
@gengjiawengengjiawen changed the title [WIP]add windows ciadd windows ciJul 18, 2018
@gengjiawen

Copy link
Copy Markdown
ContributorAuthor

cc @hramos

Comment threadappveyor.yml Outdated

@matthargettmatthargettJul 18, 2018

Copy link
Copy Markdown
Contributor

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.

@matthargett

Copy link
Copy Markdown
Contributor

Right now, the build doesn't get to npm test -- it fails on the gradle command, with the failure indicator saying :RNTester:android:app:bundleReleaseJsAndAssets FAILED.

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?

@matthargett

Copy link
Copy Markdown
Contributor

I love how clean this is with things extracted into variables, btw. Great job! 🥇

@hramoshramos added Core Team 🔩Test Infrastructure Test infrastructure and continuous integration. and removed Missing Changelog This PR appears to be missing a changelog, or they are incorrectly formatted. labels Jul 18, 2018
@gengjiawen

Copy link
Copy Markdown
ContributorAuthor

The failure is expected, since the windows issue still exists. Hopefully @rafeca can fix react/metro#181 today. The gradle error message in most case in sufficient.

@gengjiawen

Copy link
Copy Markdown
ContributorAuthor

@hramos Can you enable appveyor for react native, I want to add the badge in README.md.

@hramos

Copy link
Copy Markdown
Contributor

Enabled.

@gengjiawen

Copy link
Copy Markdown
ContributorAuthor

@hramos I have updated README.md. Do you plan to merge this or after have the windows build fixed ?

@gengjiawengengjiawen mentioned this pull request Jul 19, 2018
@facebook-github-botfacebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Jul 19, 2018

@facebook-github-botfacebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

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.

@react-native-bot

Copy link
Copy Markdown
Collaborator

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 master tag, it is not yet part of a release.

@reactreact locked as resolved and limited conversation to collaborators Jul 19, 2018
@react-native-botreact-native-bot added the Merged This PR has been merged. label Jul 19, 2018
@hramoshramos removed Import Started This pull request has been imported. This does not imply the PR has been approved. labels Feb 6, 2019
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.MergedThis PR has been merged.🔩Test InfrastructureTest infrastructure and continuous integration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@gengjiawen@matthargett@hramos@react-native-bot@facebook-github-bot