2019-04-26 18:27:27 +03:00
|
|
|
trigger:
|
2019-06-04 00:24:02 +03:00
|
|
|
batch: true
|
2019-04-26 18:27:27 +03:00
|
|
|
branches:
|
|
|
|
include:
|
2020-01-30 17:17:03 +03:00
|
|
|
- master
|
|
|
|
- 'refs/tags/v*'
|
2019-06-24 15:44:27 +03:00
|
|
|
|
|
|
|
pr:
|
|
|
|
autoCancel: true
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- master
|
|
|
|
paths:
|
|
|
|
include:
|
|
|
|
- '*'
|
2019-04-26 18:27:27 +03:00
|
|
|
|
2019-06-26 14:59:26 +03:00
|
|
|
schedules:
|
2019-06-27 15:06:46 +03:00
|
|
|
- cron: "0 3 * * Mon-Fri"
|
2019-06-26 14:59:26 +03:00
|
|
|
displayName: Daily morning build
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- master
|
|
|
|
always: true
|
|
|
|
|
2019-10-16 15:57:17 +03:00
|
|
|
resources:
|
|
|
|
containers:
|
|
|
|
- container: nosgx
|
2020-04-27 18:02:25 +03:00
|
|
|
image: ccfciteam/ccf-ci-18.04-oe-0.9.0:latest
|
2020-04-20 19:02:14 +03:00
|
|
|
options: --publish-all --cap-add SYS_PTRACE -v /dev/shm:/tmp/ccache -v /mnt/build:/__w/ -v /lib/modules:/lib/modules:ro
|
2019-10-16 15:57:17 +03:00
|
|
|
|
|
|
|
- container: sgx
|
2020-04-27 18:02:25 +03:00
|
|
|
image: ccfciteam/ccf-ci-18.04-oe-0.9.0:latest
|
2020-04-20 19:02:14 +03:00
|
|
|
options: --publish-all --device /dev/sgx:/dev/sgx -v /dev/shm:/tmp/ccache -v /mnt/build:/__w/ -v /lib/modules:/lib/modules:ro
|
2019-10-16 15:57:17 +03:00
|
|
|
|
2020-01-30 17:17:03 +03:00
|
|
|
variables:
|
|
|
|
${{ if startsWith(variables['Build.SourceBranch'], 'refs/tags/v') }}:
|
|
|
|
perf_or_release: release
|
|
|
|
${{ if not(startsWith(variables['Build.SourceBranch'], 'refs/tags/v')) }}:
|
|
|
|
perf_or_release: perf
|
|
|
|
|
2019-04-26 18:27:27 +03:00
|
|
|
jobs:
|
2019-10-16 15:57:17 +03:00
|
|
|
- template: .azure-pipelines-templates/matrix.yml
|
2020-01-30 17:17:03 +03:00
|
|
|
parameters:
|
|
|
|
perf_or_release: ${{ variables['perf_or_release'] }}
|