windows build

This commit is contained in:
Joao Moreno 2018-03-08 15:47:40 +01:00
parent 65a60df20e
commit 0a6a2d72e7
4 changed files with 18 additions and 9 deletions

View file

@ -15,7 +15,7 @@ steps:
echo "machine monacotools.visualstudio.com password $(VSO_PAT)" > ~/.netrc
yarn
npm run gulp -- hygiene
./node_modules/.bin/tsc -p ./src/tsconfig.monaco.json --noEmit
npm run monaco-compile-check
VSCODE_MIXIN_PASSWORD="$(VSCODE_MIXIN_PASSWORD)" npm run gulp -- mixin
node build/tfs/common/installDistro.js

View file

@ -25,7 +25,7 @@ steps:
echo "machine monacotools.visualstudio.com password $(VSO_PAT)" > ~/.netrc
yarn
npm run gulp -- hygiene
./node_modules/.bin/tsc -p ./src/tsconfig.monaco.json --noEmit
npm run monaco-compile-check
VSCODE_MIXIN_PASSWORD="$(VSCODE_MIXIN_PASSWORD)" npm run gulp -- mixin
node build/tfs/common/installDistro.js

View file

@ -1,8 +1,6 @@
variables:
ELECTRON_RUN_AS_NODE: 1
VSCODE_BUILD_VERBOSE: true
APPVEYOR: true
System.Debug: true
steps:
@ -15,12 +13,22 @@ steps:
versionSpec: "1.3.2"
- powershell: |
"machine monacotools.visualstudio.com password ${vsoPAT}" | Out-File "$env:HOME\_netrc" -Encoding ASCII
$env:npm_config_arch="$arch"
$env:CHILD_CONCURRENCY="1"
yarn
.\node_modules\.bin\gulp electron
.\node_modules\.bin\tsc -p .\src\tsconfig.monaco.json --noEmit
npm run compile
npm run gulp -- hygiene
npm run monaco-compile-check
$env:VSCODE_MIXIN_PASSWORD="$(VSCODE_MIXIN_PASSWORD)"
npm run gulp -- mixin
node build/tfs/common/installDistro.js
- powershell: |
$env:VSCODE_MIXIN_PASSWORD="$(VSCODE_MIXIN_PASSWORD)"
npm run gulp -- "vscode-win32-$global:arch-min"
npm run gulp -- "vscode-win32-$global:arch-copy-inno-updater"
name: build
- powershell: |
.\scripts\test.bat
.\scripts\test.bat --build --tfs
name: test

View file

@ -19,7 +19,8 @@
"7z": "7z",
"update-grammars": "node build/npm/update-all-grammars.js",
"update-localization-extension": "node build/npm/update-localization-extension.js",
"smoketest": "cd test/smoke && mocha"
"smoketest": "cd test/smoke && mocha",
"monaco-compile-check": "tsc -p src/tsconfig.monaco.json --noEmit"
},
"dependencies": {
"applicationinsights": "0.18.0",