2019-09-05 00:26:26 +08:00
|
|
|
environment:
|
|
|
|
host:
|
|
|
|
os: 'windows'
|
|
|
|
flavor: 'server'
|
2020-02-25 06:49:28 +08:00
|
|
|
version: '2019'
|
2019-09-05 00:26:26 +08:00
|
|
|
runtime:
|
|
|
|
provider: 'appcontainer'
|
2020-05-13 04:12:36 +08:00
|
|
|
image: 'cdpxwin1809.azurecr.io/global/vse2019:latest'
|
2019-10-10 03:21:21 +08:00
|
|
|
source_mode: 'map'
|
|
|
|
|
|
|
|
version:
|
|
|
|
name: 'PowerToys'
|
|
|
|
major: 1
|
|
|
|
minor: 0
|
2019-09-05 00:26:26 +08:00
|
|
|
|
|
|
|
signing_options:
|
2019-10-10 03:21:21 +08:00
|
|
|
profile: 'external_distribution'
|
2019-09-05 00:26:26 +08:00
|
|
|
|
|
|
|
package_sources:
|
|
|
|
nuget:
|
|
|
|
feeds:
|
2019-10-10 03:21:21 +08:00
|
|
|
'Nuget': 'https://api.nuget.org/v3/index.json'
|
|
|
|
'PipelineBuildSupplement': 'https://msazure.pkgs.visualstudio.com/_packaging/PipelineBuildSupplement/nuget/v3/index.json'
|
2019-09-05 00:26:26 +08:00
|
|
|
|
|
|
|
restore:
|
|
|
|
commands:
|
|
|
|
- !!defaultcommand
|
2019-10-10 03:21:21 +08:00
|
|
|
name: 'Restore Power Toys Telemetry'
|
|
|
|
command: '.pipelines\restore-telemetry.cmd'
|
|
|
|
- !!defaultcommand
|
|
|
|
name: 'Restore Power Toys'
|
2019-09-05 00:26:26 +08:00
|
|
|
command: '.pipelines\restore.cmd'
|
2019-10-10 03:21:21 +08:00
|
|
|
- !!defaultcommand
|
|
|
|
name: 'Restore Installer'
|
|
|
|
command: '.pipelines\restore-installer.cmd'
|
|
|
|
|
|
|
|
|
2019-09-05 00:26:26 +08:00
|
|
|
build:
|
|
|
|
commands:
|
|
|
|
- !!buildcommand
|
2019-10-10 03:21:21 +08:00
|
|
|
name: 'Build Power Toys'
|
2019-09-05 00:26:26 +08:00
|
|
|
command: '.pipelines\build.cmd'
|
|
|
|
artifacts:
|
2019-10-10 03:21:21 +08:00
|
|
|
- from: 'x64/Release'
|
2019-09-05 00:26:26 +08:00
|
|
|
to: 'Build_Output'
|
|
|
|
include:
|
2020-04-21 15:30:12 +08:00
|
|
|
- 'action_runner.exe'
|
2020-05-15 02:22:13 +08:00
|
|
|
- 'modules\ar\ImageResizer.resources.dll'
|
|
|
|
- 'modules\bg\ImageResizer.resources.dll'
|
|
|
|
- 'modules\ca\ImageResizer.resources.dll'
|
|
|
|
- 'modules\cs\ImageResizer.resources.dll'
|
|
|
|
- 'modules\de\ImageResizer.resources.dll'
|
|
|
|
- 'modules\es\ImageResizer.resources.dll'
|
|
|
|
- 'modules\eu-ES\ImageResizer.resources.dll'
|
|
|
|
- 'modules\fr\ImageResizer.resources.dll'
|
|
|
|
- 'modules\he\ImageResizer.resources.dll'
|
|
|
|
- 'modules\hu\ImageResizer.resources.dll'
|
|
|
|
- 'modules\it\ImageResizer.resources.dll'
|
|
|
|
- 'modules\nb-NO\ImageResizer.resources.dll'
|
|
|
|
- 'modules\nl\ImageResizer.resources.dll'
|
|
|
|
- 'modules\pl\ImageResizer.resources.dll'
|
|
|
|
- 'modules\pt-BR\ImageResizer.resources.dll'
|
|
|
|
- 'modules\ru\ImageResizer.resources.dll'
|
|
|
|
- 'modules\sk\ImageResizer.resources.dll'
|
|
|
|
- 'modules\tr\ImageResizer.resources.dll'
|
|
|
|
- 'modules\zh-Hans\ImageResizer.resources.dll'
|
|
|
|
- 'modules\FancyZones\fancyzones.dll'
|
|
|
|
- 'modules\FancyZones\FancyZonesEditor.exe'
|
|
|
|
- 'modules\FileExplorerPreview\MarkdownPreviewHandler.dll'
|
|
|
|
- 'modules\FileExplorerPreview\powerpreview.dll'
|
|
|
|
- 'modules\FileExplorerPreview\PreviewHandlerCommon.dll'
|
|
|
|
- 'modules\FileExplorerPreview\SvgPreviewHandler.dll'
|
2020-03-27 19:56:45 +08:00
|
|
|
- 'modules\ImageResizer.exe'
|
2020-05-15 02:22:13 +08:00
|
|
|
- 'modules\ImageResizerExt.dll'
|
|
|
|
- 'modules\KeyboardManager.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Calculator\Microsoft.Plugin.Caculator.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Calculator\Wox.Infrastructure.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Calculator\Wox.Plugin.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Folder\Microsoft.Plugin.Folder.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Folder\Wox.Infrastructure.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Folder\Wox.Plugin.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Indexer\Microsoft.Plugin.Indexer.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Indexer\Wox.Infrastructure.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Program\Microsoft.Plugin.Program.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Program\Wox.Infrastructure.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Program\Wox.Plugin.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Shell\Microsoft.Plugin.Shell.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Shell\Wox.Infrastructure.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Shell\Wox.Plugin.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.WindowWalker\Microsoft.Plugin.WindowWalker.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.WindowWalker\Wox.Infrastructure.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.WindowWalker\Wox.Plugin.dll'
|
|
|
|
- 'modules\Microsoft.Launcher.dll'
|
|
|
|
- 'modules\PowerRenameExt.dll'
|
|
|
|
- 'modules\shortcut_guide.dll'
|
|
|
|
- 'Notifications.dll'
|
|
|
|
- 'os-detection.dll'
|
|
|
|
- 'PowerToys.exe'
|
|
|
|
- 'PowerToysInterop.dll'
|
|
|
|
- 'PowerToysSettings.exe'
|
2019-10-10 03:21:21 +08:00
|
|
|
signing_options:
|
|
|
|
sign_inline: true # This does signing a soon as this command completes
|
|
|
|
- !!buildcommand
|
|
|
|
name: 'Build Power Toys Installer'
|
|
|
|
command: '.pipelines\build-installer.cmd'
|
|
|
|
artifacts:
|
|
|
|
- from: 'installer\PowerToysSetup\x64\Release'
|
|
|
|
to: 'Build_Installer_Output'
|
|
|
|
include:
|
2020-03-05 22:52:21 +08:00
|
|
|
- 'PowerToysSetup-*.msi'
|
2019-10-10 03:21:21 +08:00
|
|
|
signing_options:
|
|
|
|
sign_inline: true # This does signing a soon as this command completes
|
2020-02-29 06:13:43 +08:00
|
|
|
# - !!buildcommand
|
|
|
|
# name: 'Archive symbols to Symbol Server'
|
|
|
|
# artifacts:
|
|
|
|
# - to: 'x64 Symbols'
|
|
|
|
# include:
|
|
|
|
# - 'x64/Release/action_runner.pdb'
|
|
|
|
# - 'x64/Release/Notifications.pdb'
|
|
|
|
# - 'x64/Release/PowerRenameUWPUI.pdb'
|
|
|
|
# - 'x64/Release/PowerToys.pdb'
|
|
|
|
# - 'x64/Release/PowerToysSettings.pdb'
|
|
|
|
# - 'x64/Release/modules/fancyzones.pdb'
|
|
|
|
# - 'x64/Release/modules/FancyZonesEditor.pdb'
|
|
|
|
# - 'x64/Release/modules/PowerRenameExt.pdb'
|
|
|
|
# - 'x64/Release/modules/shortcut_guide.pdb'
|
2020-02-29 05:44:37 +08:00
|
|
|
|
2020-02-27 20:41:11 +08:00
|
|
|
package:
|
|
|
|
commands:
|
2020-02-25 06:49:28 +08:00
|
|
|
- !!buildcommand
|
|
|
|
name: 'Build MSIX package'
|
2020-02-28 02:18:11 +08:00
|
|
|
command: 'installer\msix\build_msix_cdpx.cmd'
|
2020-02-25 06:49:28 +08:00
|
|
|
artifacts:
|
2020-02-28 02:18:11 +08:00
|
|
|
- from: 'installer\msix\bin'
|
2020-02-25 06:49:28 +08:00
|
|
|
to: 'Build_MSIX_Package_Output'
|
|
|
|
include:
|
2020-02-28 09:29:22 +08:00
|
|
|
- '*.msix'
|
|
|
|
- '*.msixbundle'
|
|
|
|
signing_options:
|
|
|
|
profile: '400'
|
2019-10-10 23:25:09 +08:00
|
|
|
|
|
|
|
static_analysis_options:
|
|
|
|
binskim_options:
|
|
|
|
files_to_scan:
|
|
|
|
- from: 'installer/packages'
|
|
|
|
exclude:
|
2020-02-27 05:44:25 +08:00
|
|
|
- 'WiX.*/**/*.dll'
|
|
|
|
- 'Wix.*/**/*.exe'
|
2019-10-15 05:08:08 +08:00
|
|
|
moderncop_options:
|
|
|
|
files_to_scan:
|
|
|
|
- from: 'src'
|
|
|
|
exclude:
|
2020-02-25 06:49:28 +08:00
|
|
|
- '**/just.config.js'
|
|
|
|
- '**/webpack.config.js'
|
|
|
|
- '**/webpack.serve.config.js'
|
|
|
|
- '**/dist/bundle.js'
|
2020-02-28 09:29:22 +08:00
|
|
|
|