@@ -120,7 +120,61 @@ jobs:
120
120
CMAKE_OPTIONS : -DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON -DUSE_SSH=ON
121
121
CMAKE_GENERATOR : Ninja
122
122
os : ubuntu-latest
123
- - name : " Linux (MemorySanitizer)"
123
+ - name : " macOS"
124
+ id : macos
125
+ os : macos-10.15
126
+ env :
127
+ CC : clang
128
+ CMAKE_OPTIONS : -DREGEX_BACKEND=regcomp_l -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=leaks -DUSE_GSSAPI=ON
129
+ PKG_CONFIG_PATH : /usr/local/opt/openssl/lib/pkgconfig
130
+ SKIP_SSH_TESTS : true
131
+ SKIP_NEGOTIATE_TESTS : true
132
+ setup-script : osx
133
+ - name : " Windows (amd64, Visual Studio)"
134
+ id : windows-amd64-vs
135
+ os : windows-2019
136
+ env :
137
+ ARCH : amd64
138
+ CMAKE_GENERATOR : Visual Studio 16 2019
139
+ CMAKE_OPTIONS : -A x64 -DWIN32_LEAKCHECK=ON -DDEPRECATE_HARD=ON
140
+ SKIP_SSH_TESTS : true
141
+ SKIP_NEGOTIATE_TESTS : true
142
+ - name : " Windows (x86, Visual Studio)"
143
+ id : windows-x86-vs
144
+ os : windows-2019
145
+ env :
146
+ ARCH : x86
147
+ CMAKE_GENERATOR : Visual Studio 16 2019
148
+ CMAKE_OPTIONS : -A Win32 -DWIN32_LEAKCHECK=ON -DDEPRECATE_HARD=ON -DUSE_SHA1=HTTPS -DUSE_BUNDLED_ZLIB=ON
149
+ SKIP_SSH_TESTS : true
150
+ SKIP_NEGOTIATE_TESTS : true
151
+ - name : " Windows (amd64, mingw)"
152
+ id : windows-amd64-mingw
153
+ os : windows-2019
154
+ setup-script : mingw
155
+ env :
156
+ ARCH : amd64
157
+ CMAKE_GENERATOR : MinGW Makefiles
158
+ CMAKE_OPTIONS : -DDEPRECATE_HARD=ON
159
+ BUILD_TEMP : D:\Temp
160
+ BUILD_PATH : D:\Temp\mingw64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\CMake\bin
161
+ SKIP_SSH_TESTS : true
162
+ SKIP_NEGOTIATE_TESTS : true
163
+ - name : " Windows (x86, mingw)"
164
+ id : windows-x86-mingw
165
+ os : windows-2019
166
+ setup-script : mingw
167
+ env :
168
+ ARCH : x86
169
+ CMAKE_GENERATOR : MinGW Makefiles
170
+ CMAKE_OPTIONS : -DDEPRECATE_HARD=ON
171
+ BUILD_TEMP : D:\Temp
172
+ BUILD_PATH : D:\Temp\mingw32\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\CMake\bin
173
+ SKIP_SSH_TESTS : true
174
+ SKIP_NEGOTIATE_TESTS : true
175
+
176
+ # Sanitizers
177
+ - name : " Sanitizer (Memory)"
124
178
id : memorysanitizer
125
179
container :
126
180
name : focal
@@ -134,7 +188,7 @@ jobs:
134
188
ASAN_SYMBOLIZER_PATH : /usr/bin/llvm-symbolizer-10
135
189
UBSAN_OPTIONS : print_stacktrace=1
136
190
os : ubuntu-latest
137
- - name : " Linux (UndefinedBehaviorSanitizer )"
191
+ - name : " Sanitizer (UndefinedBehavior )"
138
192
id : ubsanitizer
139
193
container :
140
194
name : focal
@@ -148,7 +202,7 @@ jobs:
148
202
ASAN_SYMBOLIZER_PATH : /usr/bin/llvm-symbolizer-10
149
203
UBSAN_OPTIONS : print_stacktrace=1
150
204
os : ubuntu-latest
151
- - name : " Linux (ThreadSanitizer )"
205
+ - name : " Sanitizer (Thread )"
152
206
id : threadsanitizer
153
207
container :
154
208
name : focal
@@ -163,56 +217,34 @@ jobs:
163
217
UBSAN_OPTIONS : print_stacktrace=1
164
218
TSAN_OPTIONS : suppressions=/home/libgit2/source/script/thread-sanitizer.supp second_deadlock_stack=1
165
219
os : ubuntu-latest
166
- - name : " macOS"
220
+
221
+ # Experimental: SHA256 support
222
+ - name : " Linux (SHA256, Xenial, Clang, OpenSSL)"
223
+ id : xenial-clang-openssl
224
+ container :
225
+ name : xenial
226
+ env :
227
+ CC : clang
228
+ CMAKE_GENERATOR : Ninja
229
+ CMAKE_OPTIONS : -DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON -DUSE_SSH=ON
230
+ os : ubuntu-latest
231
+ - name : " macOS (SHA256)"
167
232
id : macos
168
233
os : macos-10.15
169
234
env :
170
235
CC : clang
171
- CMAKE_OPTIONS : -DREGEX_BACKEND=regcomp_l -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=leaks -DUSE_GSSAPI=ON
236
+ CMAKE_OPTIONS : -DREGEX_BACKEND=regcomp_l -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=leaks -DUSE_GSSAPI=ON -DEXPERIMENTAL_SHA256=ON
172
237
PKG_CONFIG_PATH : /usr/local/opt/openssl/lib/pkgconfig
173
238
SKIP_SSH_TESTS : true
174
239
SKIP_NEGOTIATE_TESTS : true
175
240
setup-script : osx
176
- - name : " Windows (amd64, Visual Studio)"
241
+ - name : " Windows (SHA256, amd64, Visual Studio)"
177
242
id : windows-amd64-vs
178
243
os : windows-2019
179
244
env :
180
245
ARCH : amd64
181
246
CMAKE_GENERATOR : Visual Studio 16 2019
182
- CMAKE_OPTIONS : -A x64 -DWIN32_LEAKCHECK=ON -DDEPRECATE_HARD=ON
183
- SKIP_SSH_TESTS : true
184
- SKIP_NEGOTIATE_TESTS : true
185
- - name : " Windows (x86, Visual Studio)"
186
- id : windows-x86-vs
187
- os : windows-2019
188
- env :
189
- ARCH : x86
190
- CMAKE_GENERATOR : Visual Studio 16 2019
191
- CMAKE_OPTIONS : -A Win32 -DWIN32_LEAKCHECK=ON -DDEPRECATE_HARD=ON -DUSE_SHA1=HTTPS -DUSE_BUNDLED_ZLIB=ON
192
- SKIP_SSH_TESTS : true
193
- SKIP_NEGOTIATE_TESTS : true
194
- - name : " Windows (amd64, mingw)"
195
- id : windows-amd64-mingw
196
- os : windows-2019
197
- setup-script : mingw
198
- env :
199
- ARCH : amd64
200
- CMAKE_GENERATOR : MinGW Makefiles
201
- CMAKE_OPTIONS : -DDEPRECATE_HARD=ON
202
- BUILD_TEMP : D:\Temp
203
- BUILD_PATH : D:\Temp\mingw64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\CMake\bin
204
- SKIP_SSH_TESTS : true
205
- SKIP_NEGOTIATE_TESTS : true
206
- - name : " Windows (x86, mingw)"
207
- id : windows-x86-mingw
208
- os : windows-2019
209
- setup-script : mingw
210
- env :
211
- ARCH : x86
212
- CMAKE_GENERATOR : MinGW Makefiles
213
- CMAKE_OPTIONS : -DDEPRECATE_HARD=ON
214
- BUILD_TEMP : D:\Temp
215
- BUILD_PATH : D:\Temp\mingw32\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\CMake\bin
247
+ CMAKE_OPTIONS : -A x64 -DWIN32_LEAKCHECK=ON -DDEPRECATE_HARD=ON -DEXPERIMENTAL_SHA256=ON
216
248
SKIP_SSH_TESTS : true
217
249
SKIP_NEGOTIATE_TESTS : true
218
250
fail-fast : false
0 commit comments