[CDPx] update SDK, restore telemetry, build MSIX (#1358)

This commit is contained in:
Enrico Giordani
2020-02-24 23:49:28 +01:00
committed by GitHub
parent e3057b5e46
commit 74b076e31f
12 changed files with 155 additions and 20 deletions

View File

@@ -2,10 +2,10 @@ environment:
host:
os: 'windows'
flavor: 'server'
version: '2016'
version: '2019'
runtime:
provider: 'appcontainer'
image: 'cdpxwin.azurecr.io/user/powertoys/vs2019:3.0'
image: 'cdpxwinrs5.azurecr.io/global/vse2019:16.4.3'
source_mode: 'map'
version:
@@ -44,12 +44,12 @@ build:
- from: 'x64/Release'
to: 'Build_Output'
include:
- 'PowerToys.exe'
- 'PowerToysSettings.exe'
- 'modules\FancyZonesEditor.exe'
- 'modules\fancyzones.dll'
- 'modules\shortcut_guide.dll'
- 'modules\PowerRenameExt.dll'
- 'PowerToys.exe'
- 'PowerToysSettings.exe'
- 'modules\FancyZonesEditor.exe'
- 'modules\fancyzones.dll'
- 'modules\shortcut_guide.dll'
- 'modules\PowerRenameExt.dll'
signing_options:
sign_inline: true # This does signing a soon as this command completes
- !!buildcommand
@@ -62,21 +62,31 @@ build:
- 'PowerToysSetup.msi'
signing_options:
sign_inline: true # This does signing a soon as this command completes
- !!buildcommand
name: 'Build MSIX package'
command: '.pipelines\msix\build_msix.cmd'
artifacts:
- from: '.pipelines\msix\bin'
to: 'Build_MSIX_Package_Output'
include:
- '*.msix'
- '*.msixbundle'
signing_options:
sign_inline: true
static_analysis_options:
binskim_options:
files_to_scan:
- from: 'installer/packages'
exclude:
exclude:
- 'WiX.3.11.1/**/*.dll'
- 'Wix.3.11.1/**/*.exe'
- 'WiX.3.11.1/**/*.dll'
- 'Wix.3.11.1/**/*.exe'
moderncop_options:
files_to_scan:
- from: 'src'
exclude:
- '**/just.config.js'
- '**/webpack.config.js'
- '**/webpack.serve.config.js'
- '**/dist/bundle.js'
- '**/just.config.js'
- '**/webpack.config.js'
- '**/webpack.serve.config.js'
- '**/dist/bundle.js'