2019-01-29 08:24:37 +08:00
|
|
|
#
|
|
|
|
# Continuous Integration (CI)
|
|
|
|
# This pipeline builds and validate the app in all supported configurations. If the build was
|
|
|
|
# queued to validate a pull request, we build and test only x64.
|
|
|
|
#
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
- master
|
|
|
|
- servicing/*
|
2019-12-03 05:53:49 +08:00
|
|
|
- feature/*
|
2019-01-29 08:24:37 +08:00
|
|
|
pr:
|
|
|
|
- master
|
|
|
|
- servicing/*
|
2019-12-03 05:53:49 +08:00
|
|
|
- feature/*
|
2019-01-29 08:24:37 +08:00
|
|
|
|
2019-03-02 02:10:33 +08:00
|
|
|
name: 0.$(Date:yyMM).$(DayOfMonth)$(Rev:rr).0
|
2019-01-29 08:24:37 +08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
- template: ./templates/build-app-public.yaml
|
|
|
|
parameters:
|
|
|
|
platform: x64
|
|
|
|
|
|
|
|
- template: ./templates/build-app-public.yaml
|
|
|
|
parameters:
|
|
|
|
platform: x86
|
2020-06-03 02:20:26 +08:00
|
|
|
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
2019-01-29 08:24:37 +08:00
|
|
|
|
|
|
|
- template: ./templates/build-app-public.yaml
|
|
|
|
parameters:
|
|
|
|
platform: ARM
|
|
|
|
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
|
|
|
|
|
|
|
- template: ./templates/build-app-public.yaml
|
|
|
|
parameters:
|
|
|
|
platform: ARM64
|
|
|
|
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
|
|
|
|
2019-04-26 07:54:36 +08:00
|
|
|
- template: ./templates/run-ui-tests.yaml
|
|
|
|
parameters:
|
|
|
|
platform: x64
|
2019-06-26 02:29:32 +08:00
|
|
|
runsettingsFileName: CalculatorUITests.ci.runsettings
|
2019-04-26 07:54:36 +08:00
|
|
|
|
2019-01-29 08:24:37 +08:00
|
|
|
- template: ./templates/run-unit-tests.yaml
|
|
|
|
parameters:
|
|
|
|
platform: x64
|
|
|
|
|
|
|
|
- template: ./templates/run-unit-tests.yaml
|
|
|
|
parameters:
|
|
|
|
platform: x86
|
|
|
|
|
|
|
|
- template: ./templates/package-appxbundle.yaml
|