forked from evilcorpltd/aTox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
38 lines (34 loc) · 925 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
30
31
32
33
34
35
36
37
38
strategy:
matrix:
linux:
imageName: 'ubuntu-latest'
mac:
imageName: 'macOS-latest'
windows:
imageName: 'windows-latest'
pool:
vmImage: $(imageName)
steps:
- task: Gradle@2
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64'
testResultsFiles: '**/TEST-*.xml'
tasks: 'assembleDebug testDebug'
displayName: gradlew assembleDebug testDebug
- task: CopyFiles@2
condition: eq(variables['Agent.OS'], 'Linux')
inputs:
contents: '**/*.apk'
targetFolder: '$(build.artifactStagingDirectory)'
displayName: Copy .apks to staging folder
- task: PublishBuildArtifacts@1
condition: eq(variables['Agent.OS'], 'Linux')
inputs:
pathToPublish: '$(build.artifactStagingDirectory)'
artifactName: 'drop'
displayName: Publish .apks