-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathazure-pipelines.yml
29 lines (25 loc) · 976 Bytes
/
azure-pipelines.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
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
jobs:
- job: Build
steps:
- script: curl -L https://api.nest.saker.build/bundle/download/saker.build-v$(curl -s https://mirror.nest.saker.build/badges/saker.build/latest.txt) -o saker.build.jar
displayName: 'Download saker.build'
- script: $(JAVA_HOME_8_X64)/bin/java -jar saker.build.jar -bd build -trace pwd://build/build_test.trace test
displayName: 'Test'
- task: PublishBuildArtifacts@1
condition: always()
displayName: 'Publish test trace'
inputs:
pathtoPublish: build/build_test.trace
artifactName: trace
- script: $(JAVA_HOME_8_X64)/bin/java -jar saker.build.jar -bd build -trace pwd://build/build_export.trace -trace-artifacts-embed export
displayName: 'Export library JAR'
- task: PublishBuildArtifacts@1
condition: always()
displayName: 'Publish export trace'
inputs:
pathtoPublish: build/build_export.trace
artifactName: trace