forked from wpilibsuite/shuffleboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
50 lines (42 loc) · 1.09 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
# Build and testing pipeline on Azure.
resources:
containers:
- container: ubuntu
image: wpilib/ubuntu-base:18.04
variables:
- group: Artifactory-Package-Publish
trigger:
batch: true
branches:
include:
- master
stages:
- stage: Build
jobs:
- template: azure-templates/job-build.yml
parameters:
jobName: Linux
container: ubuntu
artifactName: 'Linux'
prebuild:
- script: |
sudo apt-get update -y
sudo apt-get install libgtk2.0.0 -y
displayName: 'Install Dependencies'
- template: azure-templates/job-build.yml
parameters:
jobName: Windows_64_Bit
pool:
vmImage: 'windows-2019'
container: ''
jdkVersionOption: '1.11'
buildOptions: '-PskipPMD'
artifactName: 'Win64'
- template: azure-templates/job-build-win32.yml
- template: azure-templates/job-build-mac.yml
- template: azure-templates/stage-combine.yml
parameters:
publish: True
publishUserName: $(PublishUserName)
publishPassword: $(PublishPassword)
artifacts: [Mac, Win32, Win64, Linux]