-
Notifications
You must be signed in to change notification settings - Fork 17
/
azure-pipelines.yml
41 lines (39 loc) · 1.92 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
name: $(Build.SourceVersion)
trigger:
branches:
include:
- master
pr:
branches:
include:
- '*'
stages:
- stage: Build
jobs:
- job:
strategy:
matrix: {
# windows_406: { OCAML_VERSION: "4.06", platform: Windows, vmImage: windows-latest, CACHE_FOLDER: $(Pipeline.Workspace)\cache },
# windows_407: { OCAML_VERSION: "4.07", platform: Windows, vmImage: windows-latest, CACHE_FOLDER: $(Pipeline.Workspace)\cache },
windows_408: { OCAML_VERSION: "4.08", platform: Windows, vmImage: windows-latest, CACHE_FOLDER: $(Pipeline.Workspace)\cache },
# macos_404: { OCAML_VERSION: "4.04", platform: macOS, vmImage: macos-latest, CACHE_FOLDER: $(Pipeline.Workspace)/cache },
# macos_406: { OCAML_VERSION: "4.06", platform: macOS, vmImage: macos-latest, CACHE_FOLDER: $(Pipeline.Workspace)/cache },
# macos_407: { OCAML_VERSION: "4.07", platform: macOS, vmImage: macos-latest, CACHE_FOLDER: $(Pipeline.Workspace)/cache },
macos_408: { OCAML_VERSION: "4.08", platform: macOS, vmImage: macos-latest, CACHE_FOLDER: $(Pipeline.Workspace)/cache },
# linux_404: { OCAML_VERSION: "4.04", platform: Linux, vmImage: ubuntu-latest, CACHE_FOLDER: $(Pipeline.Workspace)/cache },
# linux_406: { OCAML_VERSION: "4.06", platform: Linux, vmImage: ubuntu-latest, CACHE_FOLDER: $(Pipeline.Workspace)/cache },
# linux_407: { OCAML_VERSION: "4.07", platform: Linux, vmImage: ubuntu-latest, CACHE_FOLDER: $(Pipeline.Workspace)/cache },
linux_408: { OCAML_VERSION: "4.08", platform: Linux, vmImage: ubuntu-latest, CACHE_FOLDER: $(Pipeline.Workspace)/cache }
}
pool:
vmImage: $(vmImage)
steps:
- template: .ci/esy-build-steps.yml
- template: .ci/restore-build-cache.yml
- template: .ci/build.yml
parameters:
OCAML_VERSION: $(OCAML_VERSION)
- template: .ci/test.yml
parameters:
OCAML_VERSION: $(OCAML_VERSION)
- template: .ci/publish-build-cache.yml