2017-06-24 12:21:57 +00:00
|
|
|
os: Visual Studio 2017
|
2017-06-24 11:06:52 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
|
|
|
|
environment:
|
2018-10-03 21:44:04 +00:00
|
|
|
nodejs_version: "10"
|
2017-06-24 11:06:52 +00:00
|
|
|
|
|
|
|
cache:
|
2018-12-23 19:03:29 +00:00
|
|
|
- "%USERPROFILE%\\.electron"
|
|
|
|
- "%LOCALAPPDATA%\\Yarn"
|
2017-06-24 11:06:52 +00:00
|
|
|
|
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
install:
|
|
|
|
- ps: Install-Product node $env:nodejs_version $env:platform
|
2018-12-23 19:03:29 +00:00
|
|
|
- yarn
|
2017-06-24 11:06:52 +00:00
|
|
|
- node scripts/build-native.js
|
|
|
|
|
|
|
|
build_script:
|
2018-12-23 19:03:29 +00:00
|
|
|
- yarn run build
|
2017-06-24 11:06:52 +00:00
|
|
|
- node scripts/prepackage-plugins.js
|
|
|
|
- node scripts/build-windows.js
|
|
|
|
|
2017-06-24 18:05:49 +00:00
|
|
|
artifacts:
|
2018-09-22 11:14:51 +00:00
|
|
|
- path: 'dist\*.exe'
|