Revert "Move MS Windows build to CircleCI (#17984)" (#18302)
This reverts commit 885ed469096d4da7ca038564b323e9b706f5a6d0.
Andrew Clark committed
Mar 12, 2020 at 20:57 UTC
8c015e0e1432f9bc76eb280140a9eaed99bf7631
2 files changed
+42
-45
.circleci/config.yml
+1
-45
@@ -1,7 +1,4 @@
1
-version: 2.1
2
-
3
-orbs:
4
- win: circleci/windows@2.4.0
1
+version: 2
2
3
aliases:
4
- &docker
@@ -51,9 +48,6 @@ aliases:
48
paths:
49
- bundle-sizes.json
50
54
- - &ms_windows_environment
55
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
56
-
51
jobs:
52
setup:
53
docker: *docker
@@ -470,38 +464,6 @@ jobs:
464
RELEASE_CHANNEL: experimental
465
command: yarn test-build-prod --maxWorkers=2
466
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
-
467
workflows:
468
version: 2
469
stable:
@@ -616,9 +578,3 @@ workflows:
578
- test_fuzz:
579
requires:
580
- setup
619
-
620
- ms_windows:
621
- jobs:
622
- - test_ms_windows
623
-
624
-
appveyor.yml
new
+41
@@ -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"