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/*
|
|
|
|
pr:
|
|
|
|
- master
|
|
|
|
- servicing/*
|
|
|
|
|
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
|
|
|
|
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
|
|
|
|
|
|
|
- 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'))
|
|
|
|
|
|
|
|
- template: ./templates/run-unit-tests.yaml
|
|
|
|
parameters:
|
|
|
|
platform: x64
|
|
|
|
|
|
|
|
- template: ./templates/run-unit-tests.yaml
|
|
|
|
parameters:
|
|
|
|
platform: x86
|
|
|
|
|
|
|
|
- template: ./templates/package-appxbundle.yaml
|