Skip to content

Commit 885ed46

Browse files
wittgenstChris Lüer
andauthored
Move MS Windows build to CircleCI (#17984)
* Move MS Windows build to CircleCI * Update to latest NodeJS Co-authored-by: Chris Lüer <[email protected]>
1 parent 2a7cd58 commit 885ed46

File tree

2 files changed

+45
-42
lines changed

2 files changed

+45
-42
lines changed

.circleci/config.yml

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
version: 2
1+
version: 2.1
2+
3+
orbs:
4+
win: circleci/[email protected]
25

36
aliases:
47
- &docker
@@ -48,6 +51,9 @@ aliases:
4851
paths:
4952
- bundle-sizes.json
5053

54+
- &ms_windows_environment
55+
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
56+
5157
jobs:
5258
setup:
5359
docker: *docker
@@ -464,6 +470,38 @@ jobs:
464470
RELEASE_CHANNEL: experimental
465471
command: yarn test-build-prod --maxWorkers=2
466472

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+
467505
workflows:
468506
version: 2
469507
stable:
@@ -578,3 +616,9 @@ workflows:
578616
- test_fuzz:
579617
requires:
580618
- setup
619+
620+
ms_windows:
621+
jobs:
622+
- test_ms_windows
623+
624+

appveyor.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)