]> git.proxmox.com Git - libgit2.git/blob - azure-pipelines/nightly.yml
fd76b97a87134c7c4757a80e5244178e963921d5
[libgit2.git] / azure-pipelines / nightly.yml
1 resources:
2 - repo: self
3
4 jobs:
5 - job: linux_amd64_trusty_gcc_openssl
6 displayName: 'Linux (amd64; Trusty; GCC; OpenSSL)'
7 pool:
8 vmImage: 'Ubuntu 16.04'
9 steps:
10 - template: docker.yml
11 parameters:
12 imageName: 'libgit2/trusty-amd64:latest'
13 environmentVariables: |
14 CC=gcc
15 CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON
16 LEAK_CHECK=valgrind
17 RUN_INVASIVE_TESTS=true
18
19 - job: linux_amd64_trusty_gcc_mbedtls
20 displayName: 'Linux (amd64; Trusty; GCC; mbedTLS)'
21 pool:
22 vmImage: 'Ubuntu 16.04'
23 steps:
24 - template: docker.yml
25 parameters:
26 imageName: 'libgit2/trusty-amd64:latest'
27 environmentVariables: |
28 CC=gcc
29 CMAKE_OPTIONS=-DUSE_HTTPS=mbedTLS -DSHA1_BACKEND=mbedTLS -DDEPRECATE_HARD=ON
30 LEAK_CHECK=valgrind
31 RUN_INVASIVE_TESTS=true
32
33 - job: linux_amd64_trusty_clang_openssl
34 displayName: 'Linux (amd64; Trusty; Clang; OpenSSL)'
35 pool:
36 vmImage: 'Ubuntu 16.04'
37 steps:
38 - template: docker.yml
39 parameters:
40 imageName: 'libgit2/trusty-amd64:latest'
41 environmentVariables: |
42 CC=clang
43 CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON
44 LEAK_CHECK=valgrind
45 RUN_INVASIVE_TESTS=true
46
47 - job: linux_amd64_trusty_clang_mbedtls
48 displayName: 'Linux (amd64; Trusty; Clang; mbedTLS)'
49 pool:
50 vmImage: 'Ubuntu 16.04'
51 steps:
52 - template: docker.yml
53 parameters:
54 imageName: 'libgit2/trusty-amd64:latest'
55 environmentVariables: |
56 CC=clang
57 CMAKE_OPTIONS=-DUSE_HTTPS=mbedTLS -DSHA1_BACKEND=mbedTLS -DDEPRECATE_HARD=ON
58 LEAK_CHECK=valgrind
59 RUN_INVASIVE_TESTS=true
60
61 - job: macos
62 displayName: 'macOS'
63 pool:
64 vmImage: 'macOS 10.13'
65 steps:
66 - bash: . '$(Build.SourcesDirectory)/ci/setup-osx.sh'
67 displayName: Setup
68 - template: bash.yml
69 parameters:
70 environmentVariables:
71 TMPDIR: $(Agent.TempDirectory)
72 PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig
73 LEAK_CHECK: leaks
74 CMAKE_OPTIONS: -G Ninja -DDEPRECATE_HARD=ON
75 RUN_INVASIVE_TESTS: true
76 SKIP_SSH_TESTS: true
77
78 - job: windows_vs_amd64
79 displayName: 'Windows (amd64; Visual Studio)'
80 pool: Hosted
81 steps:
82 - template: powershell.yml
83 parameters:
84 environmentVariables:
85 CMAKE_OPTIONS: -DMSVC_CRTDBG=ON -G"Visual Studio 12 2013 Win64" -DDEPRECATE_HARD=ON
86 RUN_INVASIVE_TESTS: true
87
88 - job: windows_vs_x86
89 displayName: 'Windows (x86; Visual Studio)'
90 pool: Hosted
91 steps:
92 - template: powershell.yml
93 parameters:
94 environmentVariables:
95 CMAKE_OPTIONS: -DMSVC_CRTDBG=ON -G"Visual Studio 12 2013" -DDEPRECATE_HARD=ON
96 RUN_INVASIVE_TESTS: true
97
98 - job: windows_mingw_amd64
99 displayName: 'Windows (amd64; MinGW)'
100 pool: Hosted
101 steps:
102 - powershell: . '$(Build.SourcesDirectory)\ci\setup-mingw.ps1'
103 displayName: Setup
104 env:
105 TEMP: $(Agent.TempDirectory)
106 ARCH: amd64
107 - template: powershell.yml
108 parameters:
109 environmentVariables:
110 CMAKE_OPTIONS: -G"MinGW Makefiles" -DDEPRECATE_HARD=ON
111 PATH: $(Agent.TempDirectory)\mingw64\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\CMake\bin
112 RUN_INVASIVE_TESTS: true
113
114 - job: windows_mingw_x86
115 displayName: 'Windows (x86; MinGW)'
116 pool: Hosted
117 steps:
118 - powershell: . '$(Build.SourcesDirectory)\ci\setup-mingw.ps1'
119 displayName: Setup
120 workingDirectory: '$(Build.BinariesDirectory)'
121 env:
122 TEMP: $(Agent.TempDirectory)
123 ARCH: x86
124 - template: powershell.yml
125 parameters:
126 environmentVariables:
127 CMAKE_OPTIONS: -G"MinGW Makefiles" -DDEPRECATE_HARD=ON
128 PATH: $(Agent.TempDirectory)\mingw32\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\CMake\bin
129 RUN_INVASIVE_TESTS: true
130
131 - job: linux_x86_bionic_gcc_openssl
132 displayName: 'Linux (x86; Bionic; GCC; OpenSSL)'
133 pool:
134 vmImage: 'Ubuntu 16.04'
135 steps:
136 - template: docker.yml
137 parameters:
138 qemu: 'true'
139 imageName: 'libgit2/bionic-x86:latest'
140 environmentVariables: |
141 CC=gcc
142 CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON
143 LEAK_CHECK=valgrind
144 RUN_INVASIVE_TESTS=true
145
146 - job: linux_x86_bionic_clang_openssl
147 displayName: 'Linux (x86; Bionic; Clang; OpenSSL)'
148 pool:
149 vmImage: 'Ubuntu 16.04'
150 steps:
151 - template: docker.yml
152 parameters:
153 qemu: 'true'
154 imageName: 'libgit2/bionic-x86:latest'
155 environmentVariables: |
156 CC=clang
157 CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON
158 LEAK_CHECK=valgrind
159 RUN_INVASIVE_TESTS=true
160
161 - job: linux_arm32_bionic_gcc_openssl
162 displayName: 'Linux (arm32; Bionic; GCC; OpenSSL)'
163 pool:
164 vmImage: 'Ubuntu 16.04'
165 steps:
166 - template: docker.yml
167 parameters:
168 qemu: 'true'
169 imageName: 'libgit2/bionic-arm32:latest'
170 environmentVariables: |
171 CC=gcc
172 CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON
173 RUN_INVASIVE_TESTS=true
174 SKIP_PROXY_TESTS=true
175
176 - job: linux_arm64_bionic_gcc_openssl
177 displayName: 'Linux (arm64; Bionic; GCC; OpenSSL)'
178 pool:
179 vmImage: 'Ubuntu 16.04'
180 steps:
181 - template: docker.yml
182 parameters:
183 qemu: 'true'
184 imageName: 'libgit2/bionic-arm64:latest'
185 environmentVariables: |
186 CC=gcc
187 CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON
188 RUN_INVASIVE_TESTS=true
189 SKIP_PROXY_TESTS=true