]> git.proxmox.com Git - libgit2.git/blob - azure-pipelines/nightly.yml
New upstream version 1.1.0+dfsg.1
[libgit2.git] / azure-pipelines / nightly.yml
1 resources:
2 - repo: self
3
4 jobs:
5 - job: linux_amd64_xenial_gcc_openssl
6 displayName: 'Linux (amd64; Xenial; GCC; OpenSSL)'
7 pool:
8 vmImage: 'ubuntu-18.04'
9 steps:
10 - template: docker.yml
11 parameters:
12 docker:
13 image: xenial
14 base: ubuntu:xenial
15 environmentVariables: |
16 CC=gcc
17 CMAKE_GENERATOR=Ninja
18 CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DREGEX_BACKEND=builtin -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind
19 RUN_INVASIVE_TESTS=true
20
21 - job: linux_amd64_xenial_gcc_mbedtls
22 displayName: 'Linux (amd64; Xenial; GCC; mbedTLS)'
23 pool:
24 vmImage: 'ubuntu-18.04'
25 steps:
26 - template: docker.yml
27 parameters:
28 docker:
29 image: xenial
30 base: ubuntu:xenial
31 environmentVariables: |
32 CC=gcc
33 CMAKE_GENERATOR=Ninja
34 CMAKE_OPTIONS=-DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind
35 RUN_INVASIVE_TESTS=true
36
37 - job: linux_amd64_xenial_clang_openssl
38 displayName: 'Linux (amd64; Xenial; Clang; OpenSSL)'
39 pool:
40 vmImage: 'ubuntu-18.04'
41 steps:
42 - template: docker.yml
43 parameters:
44 docker:
45 image: xenial
46 base: ubuntu:xenial
47 environmentVariables: |
48 CC=clang
49 CMAKE_GENERATOR=Ninja
50 CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind
51 RUN_INVASIVE_TESTS=true
52
53 - job: linux_amd64_xenial_clang_mbedtls
54 displayName: 'Linux (amd64; Xenial; Clang; mbedTLS)'
55 pool:
56 vmImage: 'ubuntu-18.04'
57 steps:
58 - template: docker.yml
59 parameters:
60 docker:
61 image: xenial
62 base: ubuntu:xenial
63 environmentVariables: |
64 CC=clang
65 CMAKE_GENERATOR=Ninja
66 CMAKE_OPTIONS=-DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind
67 RUN_INVASIVE_TESTS=true
68
69 - job: macos
70 displayName: 'macOS (amd64; 10.15)'
71 pool:
72 vmImage: 'macOS-10.15'
73 steps:
74 - bash: . '$(Build.SourcesDirectory)/azure-pipelines/setup-osx.sh'
75 displayName: Setup
76 - template: bash.yml
77 parameters:
78 environmentVariables:
79 TMPDIR: $(Agent.TempDirectory)
80 PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig
81 CMAKE_GENERATOR: Ninja
82 CMAKE_OPTIONS: -DREGEX_BACKEND=regcomp_l -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=leaks -DUSE_GSSAPI=ON
83 RUN_INVASIVE_TESTS: true
84 SKIP_SSH_TESTS: true
85
86 - job: windows_vs_amd64
87 displayName: 'Windows (amd64; Visual Studio)'
88 pool:
89 vmImage: 'vs2017-win2016'
90 steps:
91 - template: bash.yml
92 parameters:
93 environmentVariables:
94 CMAKE_GENERATOR: Visual Studio 15 2017
95 CMAKE_OPTIONS: -A x64 -DMSVC_CRTDBG=ON -DDEPRECATE_HARD=ON
96 RUN_INVASIVE_TESTS: true
97 SKIP_SSH_TESTS: true
98
99 - job: windows_vs_x86
100 displayName: 'Windows (x86; Visual Studio)'
101 pool:
102 vmImage: 'vs2017-win2016'
103 steps:
104 - template: bash.yml
105 parameters:
106 environmentVariables:
107 CMAKE_GENERATOR: Visual Studio 15 2017
108 CMAKE_OPTIONS: -A Win32 -DMSVC_CRTDBG=ON -DDEPRECATE_HARD=ON -DUSE_SHA1=HTTPS
109 RUN_INVASIVE_TESTS: true
110 SKIP_SSH_TESTS: true
111
112 - job: windows_mingw_amd64
113 displayName: 'Windows (amd64; MinGW)'
114 pool:
115 vmImage: 'vs2017-win2016'
116 steps:
117 - bash: . '$(Build.SourcesDirectory)\azure-pipelines\setup-mingw.sh'
118 displayName: Setup
119 env:
120 TEMP: $(Agent.TempDirectory)
121 ARCH: amd64
122 - template: bash.yml
123 parameters:
124 environmentVariables:
125 BUILD_PATH: $(Agent.TempDirectory)\mingw64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\CMake\bin
126 CMAKE_GENERATOR: MinGW Makefiles
127 CMAKE_OPTIONS: -DDEPRECATE_HARD=ON
128 RUN_INVASIVE_TESTS: true
129 SKIP_SSH_TESTS: true
130
131 - job: windows_mingw_x86
132 displayName: 'Windows (x86; MinGW)'
133 pool:
134 vmImage: 'vs2017-win2016'
135 steps:
136 - bash: . '$(Build.SourcesDirectory)\azure-pipelines\setup-mingw.sh'
137 displayName: Setup
138 workingDirectory: '$(Build.BinariesDirectory)'
139 env:
140 TEMP: $(Agent.TempDirectory)
141 ARCH: x86
142 - template: bash.yml
143 parameters:
144 environmentVariables:
145 BUILD_PATH: $(Agent.TempDirectory)\mingw32\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\CMake\bin
146 CMAKE_GENERATOR: MinGW Makefiles
147 CMAKE_OPTIONS: -DDEPRECATE_HARD=ON
148 RUN_INVASIVE_TESTS: true
149 SKIP_SSH_TESTS: true
150
151 - job: linux_x86_bionic_gcc_openssl
152 displayName: 'Linux (x86; Bionic; GCC; OpenSSL)'
153 pool:
154 vmImage: 'ubuntu-18.04'
155 steps:
156 - template: docker.yml
157 parameters:
158 qemu: 'true'
159 docker:
160 image: bionic
161 base: multiarch/ubuntu-core:x86-bionic
162 environmentVariables: |
163 CC=gcc
164 CMAKE_GENERATOR=Ninja
165 CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind
166 RUN_INVASIVE_TESTS=true
167
168 - job: linux_x86_bionic_clang_openssl
169 displayName: 'Linux (x86; Bionic; Clang; OpenSSL)'
170 pool:
171 vmImage: 'ubuntu-18.04'
172 steps:
173 - template: docker.yml
174 parameters:
175 qemu: 'true'
176 docker:
177 image: bionic
178 base: multiarch/ubuntu-core:x86-bionic
179 environmentVariables: |
180 CC=clang
181 CMAKE_GENERATOR=Ninja
182 CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind
183 RUN_INVASIVE_TESTS=true
184
185 - job: linux_arm32_bionic_gcc_openssl
186 displayName: 'Linux (arm32; Bionic; GCC; OpenSSL)'
187 pool:
188 vmImage: 'ubuntu-18.04'
189 steps:
190 - template: docker.yml
191 parameters:
192 qemu: 'true'
193 docker:
194 image: bionic
195 base: multiarch/ubuntu-core:armhf-bionic
196 environmentVariables: |
197 CC=gcc
198 CMAKE_GENERATOR=Ninja
199 CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON
200 RUN_INVASIVE_TESTS=true
201 SKIP_PROXY_TESTS=true
202
203 - job: linux_arm64_bionic_gcc_openssl
204 displayName: 'Linux (arm64; Bionic; GCC; OpenSSL)'
205 pool:
206 vmImage: 'ubuntu-18.04'
207 steps:
208 - template: docker.yml
209 parameters:
210 qemu: 'true'
211 docker:
212 image: bionic
213 base: multiarch/ubuntu-core:arm64-bionic
214 environmentVariables: |
215 CC=gcc
216 CMAKE_GENERATOR=Ninja
217 CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON
218 RUN_INVASIVE_TESTS=true
219 SKIP_PROXY_TESTS=true