- Use Visual Studio 2022 - Use an Azure Pipelines image which has Visual Studio 2022 installed - Use the v143 C++ build tools - Use the Windows SDK version 22000 - Raise the minimum platform version to 17763 - As a consequence of this change, we will use the "msix" file extension instead of "appx" for our packages - Update UI tests from .NET Core 2.1 to .NET Core 3.1
52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
#
|
|
# Continuous Integration (CI)
|
|
# This pipeline builds and validate the app for all supported architectures, in a public
|
|
# configuration. If the build was queued to validate a pull request, we build and test only x64.
|
|
#
|
|
|
|
trigger:
|
|
- master
|
|
- release/*
|
|
- feature/*
|
|
pr:
|
|
- master
|
|
- release/*
|
|
- feature/*
|
|
|
|
name: 0.$(Date:yyMM).$(DayOfMonth)$(Rev:rr).0
|
|
|
|
jobs:
|
|
- template: ./templates/build-single-architecture.yaml
|
|
parameters:
|
|
platform: x64
|
|
|
|
- template: ./templates/build-single-architecture.yaml
|
|
parameters:
|
|
platform: x86
|
|
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
|
|
|
- template: ./templates/build-single-architecture.yaml
|
|
parameters:
|
|
platform: ARM
|
|
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
|
|
|
- template: ./templates/build-single-architecture.yaml
|
|
parameters:
|
|
platform: ARM64
|
|
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
|
|
|
- template: ./templates/run-ui-tests.yaml
|
|
parameters:
|
|
platform: x64
|
|
runsettingsFileName: CalculatorUITests.ci.runsettings
|
|
|
|
- template: ./templates/run-unit-tests.yaml
|
|
parameters:
|
|
platform: x64
|
|
|
|
- template: ./templates/run-unit-tests.yaml
|
|
parameters:
|
|
platform: x86
|
|
|
|
- template: ./templates/package-msixbundle.yaml
|