calculator/build/pipelines/azure-pipelines.ci.yaml

52 lines
1.2 KiB
YAML
Raw Normal View History

2019-01-29 08:24:37 +08:00
#
# 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.
2019-01-29 08:24:37 +08:00
#
trigger:
- master
- release/*
- feature/*
2019-01-29 08:24:37 +08:00
pr:
- master
- release/*
- 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-single-architecture.yaml
2019-01-29 08:24:37 +08:00
parameters:
platform: x64
- template: ./templates/build-single-architecture.yaml
2019-01-29 08:24:37 +08:00
parameters:
platform: x86
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
2019-01-29 08:24:37 +08:00
- template: ./templates/build-single-architecture.yaml
2019-01-29 08:24:37 +08:00
parameters:
platform: ARM
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
- template: ./templates/build-single-architecture.yaml
2019-01-29 08:24:37 +08:00
parameters:
platform: ARM64
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
- template: ./templates/run-ui-tests.yaml
parameters:
platform: x64
runsettingsFileName: CalculatorUITests.ci.runsettings
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