2019-09-04 18:26:26 +02:00
|
|
|
environment:
|
|
|
|
host:
|
|
|
|
os: 'windows'
|
|
|
|
flavor: 'server'
|
2020-02-24 23:49:28 +01:00
|
|
|
version: '2019'
|
2019-09-04 18:26:26 +02:00
|
|
|
runtime:
|
|
|
|
provider: 'appcontainer'
|
2021-01-28 02:02:34 +01:00
|
|
|
# we will want to shift this to latest in the near future but this unblocks us
|
|
|
|
image: 'cdpxwin1809.azurecr.io/global/vse2019@sha256:44a8af0de5efa68829dbdfc3ecef3864d9770f1fc426b897fc37888032c9f60c'
|
2019-10-09 21:21:21 +02:00
|
|
|
source_mode: 'map'
|
|
|
|
|
|
|
|
version:
|
|
|
|
name: 'PowerToys'
|
|
|
|
major: 1
|
|
|
|
minor: 0
|
2019-09-04 18:26:26 +02:00
|
|
|
|
|
|
|
signing_options:
|
2019-10-09 21:21:21 +02:00
|
|
|
profile: 'external_distribution'
|
2019-09-04 18:26:26 +02:00
|
|
|
|
|
|
|
package_sources:
|
|
|
|
nuget:
|
|
|
|
feeds:
|
2021-02-10 09:55:37 +01:00
|
|
|
'PowerToysCDPX_Feed': 'https://github-private.pkgs.visualstudio.com/microsoft/_packaging/PowerToysCDPX_Feed/nuget/v3/index.json'
|
2019-09-04 18:26:26 +02:00
|
|
|
restore:
|
|
|
|
commands:
|
|
|
|
- !!defaultcommand
|
2019-10-09 21:21:21 +02:00
|
|
|
name: 'Restore Power Toys Telemetry'
|
2021-01-20 11:38:52 +01:00
|
|
|
command: '.pipelines\restore-telemetry.cmd'
|
2019-10-09 21:21:21 +02:00
|
|
|
- !!defaultcommand
|
|
|
|
name: 'Restore Power Toys'
|
2019-09-04 18:26:26 +02:00
|
|
|
command: '.pipelines\restore.cmd'
|
2019-10-09 21:21:21 +02:00
|
|
|
- !!defaultcommand
|
|
|
|
name: 'Restore Installer'
|
|
|
|
command: '.pipelines\restore-installer.cmd'
|
2020-08-20 01:10:15 +02:00
|
|
|
- !!defaultcommand
|
|
|
|
name: 'Restore Localization packages'
|
|
|
|
command: '.pipelines\restore-localization.cmd'
|
2020-12-23 10:28:34 +01:00
|
|
|
- !!defaultcommand
|
|
|
|
name: 'Restore Tools packages'
|
|
|
|
command: '.pipelines\restore-tools.cmd'
|
|
|
|
|
2019-10-09 21:21:21 +02:00
|
|
|
|
|
|
|
|
2019-09-04 18:26:26 +02:00
|
|
|
build:
|
|
|
|
commands:
|
2020-10-26 16:56:34 +01:00
|
|
|
# Localize the files before the Build PowerToys step to generate translated resx files from the lcl files
|
2020-10-13 17:20:33 +02:00
|
|
|
- !!buildcommand
|
|
|
|
name: 'Localize Power Toys'
|
|
|
|
command: '.pipelines\build-localization.cmd'
|
|
|
|
artifacts:
|
|
|
|
- from: 'out\loc'
|
|
|
|
to: 'loc'
|
|
|
|
include:
|
|
|
|
- '**/*'
|
2019-09-04 18:26:26 +02:00
|
|
|
- !!buildcommand
|
2019-10-09 21:21:21 +02:00
|
|
|
name: 'Build Power Toys'
|
2019-09-04 18:26:26 +02:00
|
|
|
command: '.pipelines\build.cmd'
|
|
|
|
artifacts:
|
2020-06-02 01:10:34 +02:00
|
|
|
- to: 'Symbols'
|
2020-06-01 19:26:10 +02:00
|
|
|
include:
|
2020-06-02 00:21:38 +02:00
|
|
|
- 'x64/**/*.pdb'
|
2020-06-02 01:10:34 +02:00
|
|
|
exclude:
|
|
|
|
- 'x64/Release/obj/**/*.pdb'
|
2019-10-09 21:21:21 +02:00
|
|
|
- from: 'x64/Release'
|
2019-09-04 18:26:26 +02:00
|
|
|
to: 'Build_Output'
|
|
|
|
include:
|
2020-04-21 09:30:12 +02:00
|
|
|
- 'action_runner.exe'
|
2020-12-22 15:15:46 +01:00
|
|
|
- 'BugReportTool\BugReportTool.exe'
|
2020-07-28 18:16:09 +02:00
|
|
|
- 'modules\ColorPicker\ColorPicker.dll'
|
2020-12-10 08:21:46 +01:00
|
|
|
- 'modules\ColorPicker\ColorPickerUI.dll'
|
|
|
|
- 'modules\ColorPicker\ColorPickerUI.exe'
|
2020-11-21 05:15:53 +01:00
|
|
|
- 'modules\ColorPicker\ManagedCommon.dll'
|
2021-01-05 15:54:32 +01:00
|
|
|
- 'modules\ColorPicker\Microsoft.PowerToys.Common.UI.dll'
|
2020-11-21 05:15:53 +01:00
|
|
|
- 'modules\ColorPicker\Microsoft.PowerToys.Settings.UI.Lib.dll'
|
|
|
|
- 'modules\ColorPicker\PowerToysInterop.dll'
|
|
|
|
- 'modules\ColorPicker\Telemetry.dll'
|
2020-10-13 17:20:33 +02:00
|
|
|
- '**\*.resources.dll'
|
2020-05-14 20:22:13 +02:00
|
|
|
- 'modules\FancyZones\fancyzones.dll'
|
|
|
|
- 'modules\FancyZones\FancyZonesEditor.exe'
|
2020-11-24 15:55:31 +01:00
|
|
|
- 'modules\FancyZones\FancyZonesEditor.dll'
|
2020-11-19 21:29:14 +01:00
|
|
|
- 'modules\FancyZones\ManagedCommon.dll'
|
|
|
|
- 'modules\FancyZones\Telemetry.dll'
|
2021-02-10 14:10:42 +01:00
|
|
|
- 'modules\FancyZones\Microsoft.PowerToys.Common.UI.dll'
|
2020-05-14 20:22:13 +02:00
|
|
|
- 'modules\FileExplorerPreview\MarkdownPreviewHandler.dll'
|
2020-12-11 09:59:42 +01:00
|
|
|
- 'modules\FileExplorerPreview\MarkdownPreviewHandler.comhost.dll'
|
2020-05-14 20:22:13 +02:00
|
|
|
- 'modules\FileExplorerPreview\powerpreview.dll'
|
|
|
|
- 'modules\FileExplorerPreview\PreviewHandlerCommon.dll'
|
|
|
|
- 'modules\FileExplorerPreview\SvgPreviewHandler.dll'
|
2020-12-11 09:59:42 +01:00
|
|
|
- 'modules\FileExplorerPreview\SvgPreviewHandler.comhost.dll'
|
2021-01-04 15:27:01 +01:00
|
|
|
- 'modules\FileExplorerPreview\SvgThumbnailProvider.dll'
|
|
|
|
- 'modules\FileExplorerPreview\SvgThumbnailProvider.comhost.dll'
|
2020-11-19 21:29:14 +01:00
|
|
|
- 'modules\FileExplorerPreview\Telemetry.dll'
|
2020-06-01 17:07:06 +02:00
|
|
|
- 'modules\ImageResizer\ImageResizer.exe'
|
2020-11-19 21:29:14 +01:00
|
|
|
- 'modules\ImageResizer\ImageResizer.dll'
|
2020-06-01 17:07:06 +02:00
|
|
|
- 'modules\ImageResizer\ImageResizerExt.dll'
|
2020-11-19 21:29:14 +01:00
|
|
|
- 'modules\ImageResizer\PowerToysInterop.dll'
|
2021-01-05 15:54:32 +01:00
|
|
|
- 'modules\ImageResizer\ManagedCommon.dll'
|
|
|
|
- 'modules\ImageResizer\ManagedTelemetry.dll'
|
|
|
|
- 'modules\ImageResizer\Microsoft.PowerToys.Common.UI.dll'
|
2020-06-01 18:29:40 +02:00
|
|
|
- 'modules\KeyboardManager\KeyboardManager.dll'
|
2020-05-16 00:11:38 +02:00
|
|
|
- 'modules\launcher\Microsoft.PowerToys.Settings.UI.Lib.dll'
|
2020-11-19 21:29:14 +01:00
|
|
|
- 'modules\launcher\ManagedCommon.dll'
|
2021-01-05 15:54:32 +01:00
|
|
|
- 'modules\launcher\Microsoft.PowerToys.Common.UI.dll'
|
2020-11-19 21:29:14 +01:00
|
|
|
- 'modules\launcher\Microsoft.Launcher.dll'
|
2021-01-20 11:38:52 +01:00
|
|
|
- 'modules\launcher\Plugins\Microsoft.PowerToys.Run.Plugin.Calculator\Microsoft.PowerToys.Run.Plugin.Calculator.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.PowerToys.Run.Plugin.Calculator\Wox.Infrastructure.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.PowerToys.Run.Plugin.Calculator\Wox.Plugin.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.PowerToys.Run.Plugin.Calculator\Telemetry.dll'
|
2020-05-14 20:22:13 +02:00
|
|
|
- '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'
|
2020-11-19 21:29:14 +01:00
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Folder\Telemetry.dll'
|
2020-05-14 20:22:13 +02:00
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Indexer\Microsoft.Plugin.Indexer.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Indexer\Wox.Infrastructure.dll'
|
2020-11-19 21:29:14 +01:00
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Indexer\Telemetry.dll'
|
2020-05-14 20:22:13 +02:00
|
|
|
- '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'
|
2020-11-19 21:29:14 +01:00
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Program\Telemetry.dll'
|
2021-01-20 19:15:45 +01:00
|
|
|
- 'modules\launcher\Plugins\Microsoft.PowerToys.Run.Plugin.Registry\Microsoft.PowerToys.Run.Plugin.Registry.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.PowerToys.Run.Plugin.Registry\ManagedTelemetry.dll'
|
2020-05-14 20:22:13 +02:00
|
|
|
- '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'
|
2020-11-19 21:29:14 +01:00
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Shell\Telemetry.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Uri\Microsoft.Plugin.Uri.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Uri\Wox.Infrastructure.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Uri\Wox.Plugin.dll'
|
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.Uri\Telemetry.dll'
|
2020-05-14 20:22:13 +02:00
|
|
|
- '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'
|
2020-11-19 21:29:14 +01:00
|
|
|
- 'modules\launcher\Plugins\Microsoft.Plugin.WindowWalker\Telemetry.dll'
|
2021-03-04 18:15:49 +01:00
|
|
|
- 'modules\launcher\Plugins\VSCodeWorkspaces\Community.PowerToys.Run.Plugin.VSCodeWorkspaces.dll'
|
2021-01-06 11:40:07 +01:00
|
|
|
- 'modules\launcher\Plugins\Service\Microsoft.PowerToys.Run.Plugin.Service.dll'
|
2021-01-08 16:11:30 +01:00
|
|
|
- 'modules\launcher\Plugins\System\Microsoft.PowerToys.Run.Plugin.System.dll'
|
2020-05-16 00:11:38 +02:00
|
|
|
- 'modules\launcher\PowerLauncher.dll'
|
|
|
|
- 'modules\launcher\PowerLauncher.exe'
|
|
|
|
- 'modules\launcher\PowerLauncher.Telemetry.dll'
|
|
|
|
- 'modules\launcher\PowerLauncher.UI.exe'
|
|
|
|
- 'modules\launcher\PowerToysInterop.dll'
|
|
|
|
- 'modules\launcher\Telemetry.dll'
|
|
|
|
- 'modules\launcher\Wox.dll'
|
|
|
|
- 'modules\launcher\Wox.Infrastructure.dll'
|
|
|
|
- 'modules\launcher\Wox.Plugin.dll'
|
2020-05-14 20:22:13 +02:00
|
|
|
- 'modules\Microsoft.Launcher.dll'
|
2020-05-28 16:53:16 +02:00
|
|
|
- 'modules\PowerRename\PowerRenameExt.dll'
|
2020-05-28 16:23:03 +02:00
|
|
|
- 'modules\ShortcutGuide\ShortcutGuide.dll'
|
2020-05-14 20:22:13 +02:00
|
|
|
- 'Notifications.dll'
|
|
|
|
- 'os-detection.dll'
|
|
|
|
- 'PowerToys.exe'
|
|
|
|
- 'PowerToysInterop.dll'
|
|
|
|
- 'PowerToysSettings.exe'
|
2021-02-11 17:29:56 +01:00
|
|
|
- 'Settings\Microsoft.PowerToys.Settings.UI.exe'
|
|
|
|
- 'Settings\Microsoft.PowerToys.Settings.UI.Lib.dll'
|
|
|
|
- 'Settings\PowerToys.Settings.dll'
|
|
|
|
- 'Settings\PowerToys.Settings.exe'
|
|
|
|
- 'Settings\PowerToysInterop.dll'
|
|
|
|
- 'Settings\Telemetry.dll'
|
|
|
|
- 'Settings\ManagedCommon.dll'
|
2019-10-09 21:21:21 +02:00
|
|
|
signing_options:
|
|
|
|
sign_inline: true # This does signing a soon as this command completes
|
2020-12-22 15:15:46 +01:00
|
|
|
- !!buildcommand
|
|
|
|
name: 'Build Power Toys Tools'
|
|
|
|
command: '.pipelines\build-tools.cmd'
|
|
|
|
artifacts:
|
|
|
|
- from: 'x64\Release'
|
|
|
|
to: 'Build_Output'
|
|
|
|
include:
|
|
|
|
- 'BugReportTool\BugReportTool.exe'
|
|
|
|
signing_options:
|
|
|
|
sign_inline: true # This does signing a soon as this command completes
|
2019-10-09 21:21:21 +02:00
|
|
|
- !!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 15:52:21 +01:00
|
|
|
- 'PowerToysSetup-*.msi'
|
2019-10-09 21:21:21 +02:00
|
|
|
signing_options:
|
|
|
|
sign_inline: true # This does signing a soon as this command completes
|
2020-07-27 18:53:29 +02:00
|
|
|
- !!buildcommand
|
|
|
|
name: 'Build Power Toys Bootstrapper'
|
|
|
|
command: '.pipelines\build-bootstrapper.cmd'
|
|
|
|
artifacts:
|
2020-09-08 18:59:57 +02:00
|
|
|
- to: 'Symbols'
|
|
|
|
include:
|
|
|
|
- 'installer\PowerToysBootstrapper\x64\Release\PowerToysSetup-*.pdb'
|
2020-08-05 16:20:50 +02:00
|
|
|
- from: 'installer\PowerToysBootstrapper\x64\Release'
|
2020-07-27 18:53:29 +02:00
|
|
|
to: 'Build_Installer_Output'
|
|
|
|
include:
|
|
|
|
- 'PowerToysSetup-*.exe'
|
|
|
|
signing_options:
|
|
|
|
sign_inline: true # This does signing a soon as this command completes
|
|
|
|
|
2020-02-28 22:44:37 +01:00
|
|
|
|
2020-06-01 16:44:19 +02:00
|
|
|
#package:
|
|
|
|
# commands:
|
|
|
|
# - !!buildcommand
|
|
|
|
# name: 'Build MSIX package'
|
|
|
|
# command: 'installer\msix\build_msix_cdpx.cmd'
|
|
|
|
# artifacts:
|
|
|
|
# - from: 'installer\msix\bin'
|
|
|
|
# to: 'Build_MSIX_Package_Output'
|
|
|
|
# include:
|
|
|
|
# - '*.msix'
|
|
|
|
# - '*.msixbundle'
|
|
|
|
# signing_options:
|
|
|
|
# profile: '400'
|
2019-10-10 17:25:09 +02:00
|
|
|
|
2021-01-20 11:38:52 +01:00
|
|
|
static_analysis_options:
|
|
|
|
binskim_options:
|
2019-10-10 17:25:09 +02:00
|
|
|
files_to_scan:
|
|
|
|
- from: 'installer/packages'
|
|
|
|
exclude:
|
2020-02-26 22:44:25 +01:00
|
|
|
- 'WiX.*/**/*.dll'
|
|
|
|
- 'Wix.*/**/*.exe'
|
2021-01-20 11:38:52 +01:00
|
|
|
moderncop_options:
|
2019-10-14 23:08:08 +02:00
|
|
|
files_to_scan:
|
2021-01-20 11:38:52 +01:00
|
|
|
- from: 'src'
|
|
|
|
exclude:
|
2020-02-24 23:49:28 +01:00
|
|
|
- '**/just.config.js'
|
|
|
|
- '**/webpack.config.js'
|
|
|
|
- '**/webpack.serve.config.js'
|
2021-01-20 11:38:52 +01:00
|
|
|
- '**/dist/bundle.js'
|
2020-10-13 00:31:47 +02:00
|
|
|
policheck_options:
|
|
|
|
files_to_scan:
|
2021-01-20 11:38:52 +01:00
|
|
|
- exclude:
|
2020-10-13 00:31:47 +02:00
|
|
|
- '**/*.lcl'
|
2021-01-20 11:38:52 +01:00
|
|
|
|