@@ -65,14 +65,14 @@ jobs:
6565 - name : " macOS"
6666 id : macos
6767 os : macos-12
68+ setup-script : osx
6869 env :
6970 CC : clang
7071 CMAKE_OPTIONS : -DREGEX_BACKEND=regcomp_l -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=leaks -DUSE_GSSAPI=ON
7172 CMAKE_GENERATOR : Ninja
7273 PKG_CONFIG_PATH : /usr/local/opt/openssl/lib/pkgconfig
7374 SKIP_SSH_TESTS : true
7475 SKIP_NEGOTIATE_TESTS : true
75- setup-script : osx
7676 - name : " Windows (amd64, Visual Studio, Schannel)"
7777 id : windows-amd64-vs
7878 os : windows-2019
@@ -125,6 +125,8 @@ jobs:
125125 # All builds: sanitizers
126126 - name : " Sanitizer (Memory)"
127127 id : sanitizer-memory
128+ os : ubuntu-latest
129+ setup-script : sanitizer
128130 container :
129131 name : noble
130132 env :
@@ -136,9 +138,10 @@ jobs:
136138 SKIP_NEGOTIATE_TESTS : true
137139 ASAN_SYMBOLIZER_PATH : /usr/bin/llvm-symbolizer-10
138140 UBSAN_OPTIONS : print_stacktrace=1
139- os : ubuntu-latest
140141 - name : " Sanitizer (Address)"
141142 id : sanitizer-address
143+ os : ubuntu-latest
144+ setup-script : sanitizer
142145 container :
143146 name : noble
144147 env :
@@ -150,10 +153,10 @@ jobs:
150153 SKIP_NEGOTIATE_TESTS : true
151154 ASAN_SYMBOLIZER_PATH : /usr/bin/llvm-symbolizer-10
152155 UBSAN_OPTIONS : print_stacktrace=1
153- os : ubuntu-latest
154156 - name : " Sanitizer (UndefinedBehavior)"
155157 id : sanitizer-ub
156158 os : ubuntu-latest
159+ setup-script : sanitizer
157160 container :
158161 name : noble
159162 env :
@@ -168,6 +171,7 @@ jobs:
168171 - name : " Sanitizer (Thread)"
169172 id : sanitizer-thread
170173 os : ubuntu-latest
174+ setup-script : sanitizer
171175 container :
172176 name : noble
173177 env :
@@ -180,44 +184,13 @@ jobs:
180184 ASAN_SYMBOLIZER_PATH : /usr/bin/llvm-symbolizer-10
181185 UBSAN_OPTIONS : print_stacktrace=1
182186 TSAN_OPTIONS : suppressions=/home/libgit2/source/script/thread-sanitizer.supp second_deadlock_stack=1
183-
184- # All builds: experimental SHA256 support
185- - name : " Linux (SHA256, Xenial, Clang, OpenSSL)"
186- id : xenial-clang-openssl
187- os : ubuntu-latest
188- container :
189- name : xenial
190- env :
191- CC : clang
192- CMAKE_GENERATOR : Ninja
193- CMAKE_OPTIONS : -DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON -DUSE_SSH=ON -DEXPERIMENTAL_SHA256=ON
194- - name : " macOS (SHA256)"
195- id : macos
196- os : macos-12
197- setup-script : osx
198- env :
199- CC : clang
200- CMAKE_OPTIONS : -DREGEX_BACKEND=regcomp_l -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=leaks -DUSE_GSSAPI=ON -DEXPERIMENTAL_SHA256=ON
201- CMAKE_GENERATOR : Ninja
202- PKG_CONFIG_PATH : /usr/local/opt/openssl/lib/pkgconfig
203- SKIP_SSH_TESTS : true
204- SKIP_NEGOTIATE_TESTS : true
205- - name : " Windows (SHA256, amd64, Visual Studio)"
206- id : windows-amd64-vs
207- os : windows-2019
208- env :
209- ARCH : amd64
210- CMAKE_GENERATOR : Visual Studio 16 2019
211- CMAKE_OPTIONS : -A x64 -DWIN32_LEAKCHECK=ON -DDEPRECATE_HARD=ON -DEXPERIMENTAL_SHA256=ON
212- SKIP_SSH_TESTS : true
213- SKIP_NEGOTIATE_TESTS : true
214187 fail-fast : false
215188 env : ${{ matrix.platform.env }}
216189 runs-on : ${{ matrix.platform.os }}
217190 name : " Build: ${{ matrix.platform.name }}"
218191 steps :
219192 - name : Check out repository
220- uses : actions/checkout@v3
193+ uses : actions/checkout@v4
221194 with :
222195 path : source
223196 fetch-depth : 0
@@ -254,7 +227,7 @@ jobs:
254227 container-version : ${{ env.docker-registry-container-sha }}
255228 shell : ${{ matrix.platform.shell }}
256229 - name : Upload test results
257- uses : actions/upload-artifact@v3
230+ uses : actions/upload-artifact@v4
258231 if : success() || failure()
259232 with :
260233 name : test-results-${{ matrix.platform.id }}
@@ -285,7 +258,7 @@ jobs:
285258 runs-on : ubuntu-latest
286259 steps :
287260 - name : Check out repository
288- uses : actions/checkout@v3
261+ uses : actions/checkout@v4
289262 with :
290263 path : source
291264 fetch-depth : 0
@@ -312,7 +285,7 @@ jobs:
312285 cm doc api.docurium
313286 git checkout gh-pages
314287 zip --exclude .git/\* --exclude .gitignore --exclude .gitattributes -r api-documentation.zip .
315- - uses : actions/upload-artifact@v3
288+ - uses : actions/upload-artifact@v4
316289 name : Upload artifact
317290 with :
318291 name : api-documentation
0 commit comments