Move MS Windows build to CircleCI #17984
Conversation
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit a09d7cd:
|
| # Fix line endings in Windows. | ||
| command: git config --global core.autocrlf input |
zpao
Feb 6, 2020
Member
😑 Do we need to do this if we aren't making any commits? Also, doesn't input really only map to *nix use? (https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_code_core_autocrlf_code)
input really only map to *nix use? (https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_code_core_autocrlf_code)
wittgenst
Feb 6, 2020
Author
Contributor
This was copied from the AppVeyor config. We can try if it works without.
This was copied from the AppVeyor config. We can try if it works without.
| - run: | ||
| command: yarn install --frozen-lockfile |
zpao
Feb 6, 2020
Member
Same with this *run_yarn
Same with this *run_yarn
| - restore_cache: | ||
| keys: | ||
| - v2-win-node-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }} | ||
| - v2-win-node-{{ arch }}-{{ .Branch }}- | ||
| - v2-win-node-{{ arch }}- |
zpao
Feb 6, 2020
Member
Should this just be - *restore_yarn_cache? Looks like that's what is used elsewhere for this step.
Should this just be - *restore_yarn_cache? Looks like that's what is used elsewhere for this step.
wittgenst
Feb 6, 2020
Author
Contributor
We are using a different cache key for Win and Linux, since the files and folders might not be exactly the same - so we can't use the same restore step.
We are using a different cache key for Win and Linux, since the files and folders might not be exactly the same - so we can't use the same restore step.
| - v2-win-node-{{ arch }}-{{ .Branch }}- | ||
| - v2-win-node-{{ arch }}- | ||
| - run: | ||
| command: nvm install 10.18.1 |
zpao
Feb 6, 2020
Member
Looks like 12.x is used on Linux, any reason to use 10.x? (it'll be in maintenance soon)
Looks like 12.x is used on Linux, any reason to use 10.x? (it'll be in maintenance soon)
wittgenst
Feb 6, 2020
Author
Contributor
10.x is what the AppVeyor config uses, not sure if we should try upgrading?
10.x is what the AppVeyor config uses, not sure if we should try upgrading?
|
I don't really have much knowledge here. I guess this seems okay? |
|
I'm reverting this because it slowed our CI times from ~6 minutes to ~23 minutes. That's because it runs the build command without concurrency. Do we really need to run the tests against build? I don't remember why the Windows job exists. Let's figure it out then re-land. |
Do you know who would know? Can we add them to this thread? Seems there are two questions:
|
|
What motivated this change in the first place, @wittgenst? |
|
The goal is to remove the dependency on AppVeyor. |
|
@wittgenst Let's chat on Workplace? Feel free to hit me up and I can give context. |
Revert "Move MS Windows build to CircleCI (facebook#17984)"


Summary
Migrate the MS Windows continuous integration configuration from AppVeyor to CircleCI.
Test Plan
Ran in CircleCI, all workflows succeeded.