-
Notifications
You must be signed in to change notification settings - Fork 426
/
azure-pipelines.yml
65 lines (58 loc) · 1.56 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Adapted from hello-reason CI: https://github.com/esy-ocaml/hello-reason
name: $(Build.SourceVersion)
trigger:
- master
- global
- release-*
- releases-*
- feature-*
stages:
- stage: Build_opam
displayName: Build with opam
dependsOn: []
jobs:
- job: Mac
strategy:
matrix: {
"opam_4090": { OCAML_VERSION: 4.09.0 },
"opam_4080": { OCAML_VERSION: 4.08.0 },
"opam_4071": { OCAML_VERSION: 4.07.1 },
"opam_4061": { OCAML_VERSION: 4.06.1 }
}
timeoutInMinutes: 0
pool:
vmImage: 'macOS-latest'
steps:
- template: .ci/opam-build-steps.yml
- stage: Build_esy
displayName: Build with esy
dependsOn: []
jobs:
- template: .ci/build-platform.yml
parameters:
platform: Linux
vmImage: ubuntu-20.04
- template: .ci/build-platform.yml
parameters:
platform: macOS
vmImage: macOS-latest
# Need windows-2019 to do esy import/export-dependencies
# which assumes you have bsdtar (tar.exe) in your system
# otherwise it will end up using the esy-bash tar which doesn't
# understand drives like D:/ (thinks it's an scp path).
- template: .ci/build-platform.yml
parameters:
platform: Windows
vmImage: windows-2019
# This job is kept here as we want to have the platform names in the same file
- job: Release
displayName: Release
dependsOn:
- Linux
- macOS
- Windows
pool:
vmImage: macOS-latest
demands: node.js
steps:
- template: .ci/cross-release.yml