Skip to content

Commit

Permalink
build: replace AppVeyor with CircleCI Windows support (#343)
Browse files Browse the repository at this point in the history
* docs: note that top-level await doesn't work with Node 12
  • Loading branch information
malept authored Jul 8, 2020
1 parent 27b93d1 commit e193923
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 25 deletions.
11 changes: 10 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ steps-mac: &steps-mac
- *step-save-cache
- run: yarn test

version: 2
version: 2.1
orbs:
win: circleci/[email protected]
jobs:
test-linux:
docker:
Expand All @@ -83,6 +85,11 @@ jobs:
macos:
xcode: "11.1.0"
<<: *steps-mac
test-windows:
executor:
name: win/vs2019
shell: bash.exe
<<: *steps-linux-win

release:
docker:
Expand All @@ -99,10 +106,12 @@ workflows:
jobs:
- test-linux
- test-mac
- test-windows
- release:
requires:
- test-linux
- test-mac
- test-windows
filters:
branches:
only:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ const electronInstaller = require('electron-winstaller');
Then do a build like so..

```javascript
// NB: Use this syntax within an async function, Node does not have support for
// top-level await as of Node 12.
try {
await electronInstaller.createWindowsInstaller({
appDirectory: '/tmp/build/my-app-64',
Expand Down
24 changes: 0 additions & 24 deletions appveyor.yml

This file was deleted.

0 comments on commit e193923

Please sign in to comment.