forked from HL7/fhir-ig-publisher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pull-request-pipeline.yml
30 lines (28 loc) · 1.13 KB
/
pull-request-pipeline.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
# We only want to trigger a test build on PRs to the main branch.
trigger: none
pr:
- master
- release
# Different users have different machine setups, we run the build three times, on ubuntu, osx, and windows.
# Azure doesn't always have the same Java versions on each system, so they are enumerated for each system independently.
jobs:
- template: pull-request-pipeline-parameterized.yml
parameters:
images:
# This image is here so that at least one job specifically sets Cp1252 file encodings, which are normally set by the JDK (which Azure can change on each latest image)
- displayName: ubuntu-latest-java-17-cp1252
vmImage: ubuntu-latest
jdkVersion: 1.11
javaToolOptions: -Dfile.encoding=Cp1252
- displayName: ubuntu-latest-java-11
vmImage: ubuntu-latest
jdkVersion: 1.11
javaToolOptions:
- displayName: macos-latest-java-11
vmImage: macos-latest
jdkVersion: 1.11
javaToolOptions:
- displayName: windows-latest-java-11
vmImage: windows-latest
jdkVersion: 1.11
javaToolOptions: