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