forked from MobileNativeFoundation/bluepill
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
46 lines (43 loc) · 1.11 KB
/
azure-pipelines.yml
File metadata and controls
46 lines (43 loc) · 1.11 KB
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
38
39
40
41
42
43
44
45
46
trigger:
- master
pr:
autoCancel: true
branches:
include:
- master
jobs:
- job: Xcode
displayName: 'Xcode build and tests'
pool:
vmImage: macOS-10.14
demands: xcode
steps:
- script: sudo xcode-select -s /Applications/Xcode_11.1.app
displayName: 'Select Xcode 11.1'
- script: ./scripts/bluepill.sh test
displayName: 'Run BluePill tests'
- task: PublishTestResults@2
inputs:
testResultsFormat: 'JUnit'
testResultsFiles: 'build/reports/*.xml'
mergeTestResults: false
failTaskOnFailedTests: false
- script: ./scripts/bluepill.sh build
displayName: 'Build BluePill'
- task: CopyFiles@2
inputs:
contents: 'build/*.zip'
targetFolder: '$(Build.artifactStagingDirectory)'
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
- job: Bazel
displayName: 'Bazel build'
pool:
vmImage: macOS-10.14
demands: xcode
steps:
- script: 'brew install bazel'
displayName: 'Install Bazel'
- script: 'bazel build --host_force_python=PY2 //bluepill:bluepill'
displayName: 'Bazel build'