forked from onivim/libvim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
93 lines (85 loc) · 3.07 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Cross-platform build pipeline + NPM publish
name: $(Build.SourceVersion)
jobs:
- job: ArchDocker
displayName: "Linux - Arch"
pool:
vmImage: 'Ubuntu 16.04'
steps:
- script: docker build -t arch-libvim src/build/docker/arch
displayName: 'docker build'
- script: docker run --rm --mount src=`pwd`,target=/libvim,type=bind arch-libvim /bin/bash -c 'echo hello'
- script: docker run --rm --mount src=`pwd`,target=/libvim,type=bind arch-libvim /bin/bash -c 'cd libvim/src && ls'
displayName: 'docker run'
- script: docker run --rm --mount src=`pwd`,target=/libvim,type=bind arch-libvim /bin/bash -c 'cd libvim/src && pwd'
displayName: 'docker run'
- script: docker run --rm --mount src=`pwd`,target=/libvim,type=bind arch-libvim /bin/bash -c 'cd libvim/src && esy @test install'
displayName: 'docker run'
- script: docker run --rm -i --mount src=`pwd`,target=/libvim,type=bind arch-libvim /bin/bash -c 'cd libvim/src && esy @test x run-tests.sh'
displayName: 'docker run'
- job: AlpineDocker
displayName: "Linux - Alpine 3.8 (Docker)"
pool:
vmImage: 'Ubuntu 16.04'
steps:
- script: docker build -t alpine-libvim src/build/docker/alpine
displayName: 'docker build'
- script: docker run --rm --mount src=`pwd`,target=/libvim,type=bind alpine-libvim /bin/bash -c 'esy --version'
displayName: 'docker run'
- script: docker run --rm --mount src=`pwd`,target=/libvim,type=bind alpine-libvim /bin/bash -c 'cd libvim/src && ls'
displayName: 'docker run'
- script: docker run --rm --mount src=`pwd`,target=/libvim,type=bind alpine-libvim /bin/bash -c 'cd libvim/src && pwd'
displayName: 'docker run'
- script: docker run --rm --mount src=`pwd`,target=/libvim,type=bind alpine-libvim /bin/bash -c 'cd libvim/src && esy install'
displayName: 'docker run'
- script: docker run --rm -i --mount src=`pwd`,target=/libvim,type=bind alpine-libvim /bin/bash -c 'cd libvim/src && esy build'
- job: UbuntuDocker
displayName: "Linux - Ubuntu 18.04"
pool:
vmImage: 'Ubuntu 18.04'
steps:
- template: .ci/esy-build-steps.yml
- template: .ci/libvim-test.yml
parameters:
testRunner: run-tests.sh
- job: Linux
displayName: "Linux - Ubuntu 16.04"
pool:
vmImage: 'Ubuntu 16.04'
steps:
- template: .ci/esy-build-steps.yml
- template: .ci/libvim-test.yml
parameters:
testRunner: run-tests.sh
- job: MacOS14
displayName: "MacOS Mojave"
pool:
vmImage: 'macOS-10.14'
steps:
- template: .ci/esy-build-steps.yml
- template: .ci/libvim-test.yml
parameters:
testRunner: run-tests.sh
- job: MacOS15
displayName: "MacOS Catalina"
pool:
vmImage: 'macOS-10.15'
steps:
- template: .ci/esy-build-steps.yml
- template: .ci/libvim-test.yml
parameters:
testRunner: run-tests.sh
- job: Windows
pool:
vmImage: 'vs2017-win2016'
steps:
- template: .ci/esy-build-steps.yml
- template: .ci/libvim-test.yml
parameters:
testRunner: run-tests.bat
- job: HygieneChecks
displayName: "Hygiene Checks"
pool:
vmImage: 'Ubuntu 16.04'
steps:
- template: .ci/check-hygiene.yml