forked from microsoft/CCF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vsts-ci.yml
37 lines (30 loc) · 991 Bytes
/
.vsts-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
trigger:
branches:
include:
- "*"
jobs:
- job: ACC_1804_build
pool: Ubuntu-1804-SGX-Azure
steps:
- template: .vsts-ci-templates/build_and_test.yml
- template: .vsts-ci-templates/push_perf_data.yml
- job: static_checks
pool: Ubuntu-1804-SGX-Azure
steps:
- checkout: self
clean: true
submodules: true
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: 'Component Detection'
- script: find . -regex ".*\.sh$" | xargs shellcheck -s bash -e SC2044,SC2002
displayName: 'Shell Check'
- script: python3.7 notice-check.py
displayName: 'Check copyright notices'
- script: ./check-format.sh
displayName: 'Check C++ code format'
- script: |
python3.7 -m venv env
source env/bin/activate
pip install black
black --check sphinx/ tests/ notice-check.py
displayName: 'Check Python code format'