Skip to content

Commit 8c015e0

Browse files
authored
Revert "Move MS Windows build to CircleCI (facebook#17984)" (facebook#18302)
This reverts commit 885ed46.
1 parent 885ed46 commit 8c015e0

File tree

2 files changed

+42
-45
lines changed

2 files changed

+42
-45
lines changed

.circleci/config.yml

+1-45
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
version: 2.1
2-
3-
orbs:
4-
win: circleci/windows@2.4.0
1+
version: 2
52

63
aliases:
74
- &docker
@@ -51,9 +48,6 @@ aliases:
5148
paths:
5249
- bundle-sizes.json
5350

54-
- &ms_windows_environment
55-
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
56-
5751
jobs:
5852
setup:
5953
docker: *docker
@@ -470,38 +464,6 @@ jobs:
470464
RELEASE_CHANNEL: experimental
471465
command: yarn test-build-prod --maxWorkers=2
472466

473-
test_ms_windows:
474-
executor:
475-
name: win/default
476-
environment: *ms_windows_environment
477-
steps:
478-
- run:
479-
# Fix line endings in Windows.
480-
command: git config --global core.autocrlf input
481-
- checkout
482-
- restore_cache:
483-
keys:
484-
- v2-win-node-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }}
485-
- v2-win-node-{{ arch }}-{{ .Branch }}-
486-
- v2-win-node-{{ arch }}-
487-
- run:
488-
command: node --version
489-
- run:
490-
command: choco install yarn
491-
- *run_yarn
492-
- save_cache:
493-
key: v2-win-node-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }}
494-
paths:
495-
- C:\Users\circleci\AppData\Local\Yarn
496-
- run:
497-
command: yarn lint
498-
- run:
499-
command: yarn build
500-
- run:
501-
command: yarn test
502-
- run:
503-
command: yarn prettier
504-
505467
workflows:
506468
version: 2
507469
stable:
@@ -616,9 +578,3 @@ workflows:
616578
- test_fuzz:
617579
requires:
618580
- setup
619-
620-
ms_windows:
621-
jobs:
622-
- test_ms_windows
623-
624-

appveyor.yml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
image: Visual Studio 2017
2+
3+
# Fix line endings in Windows. (runs before repo cloning)
4+
init:
5+
- git config --global core.autocrlf input
6+
7+
environment:
8+
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
9+
matrix:
10+
- nodejs_version: 10
11+
12+
# Finish on first failed build
13+
matrix:
14+
fast_finish: true
15+
16+
platform:
17+
- x64
18+
19+
branches:
20+
only:
21+
- master
22+
23+
# Disable Visual Studio build and deploy
24+
build: off
25+
deploy: off
26+
27+
install:
28+
- ps: Install-Product node $env:nodejs_version $env:platform
29+
- yarn install --frozen-lockfile
30+
31+
test_script:
32+
- node --version
33+
- yarn lint
34+
# - yarn flow-ci
35+
- yarn build
36+
- yarn test
37+
- yarn prettier
38+
39+
cache:
40+
- node_modules
41+
- "%LOCALAPPDATA%/Yarn"

0 commit comments

Comments
 (0)