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