mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-24 12:25:12 +08:00
d7859f03db
* point to csproj instead * version * rs1 container * nuget * nuget and msbuild * vs2019 * msbuild path * new container, clear up feeds * change step names, verify build output * further dig into outputs * point to right output, add draft installer script * narrow down output, change signing option * new container, try installer * set vs dev environment * add NuGet package for WiX * modify project files to use the WiX NuGet package the MSI can now be built using MSBUILD after running nuget restore * ready installer sln to use nuget * install and build scripts and new container * src/editor was renamed to src/settings, fix rebase error * check if file is present * try again
64 lines
1.7 KiB
YAML
64 lines
1.7 KiB
YAML
environment:
|
|
host:
|
|
os: 'windows'
|
|
flavor: 'server'
|
|
version: '2016'
|
|
runtime:
|
|
provider: 'appcontainer'
|
|
image: 'cdpxwin.azurecr.io/user/powertoys/vs2019:3.0'
|
|
source_mode: 'map'
|
|
|
|
version:
|
|
name: 'PowerToys'
|
|
major: 1
|
|
minor: 0
|
|
|
|
signing_options:
|
|
profile: 'external_distribution'
|
|
|
|
package_sources:
|
|
nuget:
|
|
feeds:
|
|
'Nuget': 'https://api.nuget.org/v3/index.json'
|
|
'PipelineBuildSupplement': 'https://msazure.pkgs.visualstudio.com/_packaging/PipelineBuildSupplement/nuget/v3/index.json'
|
|
|
|
restore:
|
|
commands:
|
|
- !!defaultcommand
|
|
name: 'Restore Power Toys Telemetry'
|
|
command: '.pipelines\restore-telemetry.cmd'
|
|
- !!defaultcommand
|
|
name: 'Restore Power Toys'
|
|
command: '.pipelines\restore.cmd'
|
|
- !!defaultcommand
|
|
name: 'Restore Installer'
|
|
command: '.pipelines\restore-installer.cmd'
|
|
|
|
|
|
build:
|
|
commands:
|
|
- !!buildcommand
|
|
name: 'Build Power Toys'
|
|
command: '.pipelines\build.cmd'
|
|
artifacts:
|
|
- from: 'x64/Release'
|
|
to: 'Build_Output'
|
|
include:
|
|
- 'PowerToys.exe'
|
|
- 'PowerToysSettings.exe'
|
|
- 'modules\FancyZonesEditor.exe'
|
|
- 'modules\fancyzones.dll'
|
|
- 'modules\shortcut_guide.dll'
|
|
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:
|
|
- 'PowerToysSetup.msi'
|
|
signing_options:
|
|
sign_inline: true # This does signing a soon as this command completes
|
|
|