2020 - os : ubuntu-latest
2121 cxx : " clang++"
2222 link : " dynamic"
23+ optimization : " size"
2324 assert : " debug"
2425 coverage : " nocov"
2526 boost : " --build-boost"
3233 - os : ubuntu-latest
3334 cxx : " clang++"
3435 link : " static"
36+ optimization : " size"
3537 assert : " ndebug"
3638 coverage : " nocov"
3739 boost : " --build-boost"
4446 - os : ubuntu-latest
4547 cxx : " g++"
4648 link : " dynamic"
49+ optimization : " size"
4750 assert : " ndebug"
4851 coverage : " nocov"
4952 boost : " --build-boost"
5659 - os : ubuntu-latest
5760 cxx : " g++"
5861 link : " static"
62+ optimization : " debug"
5963 assert : " ndebug"
6064 coverage : " cov"
6165 boost : " --build-boost"
6872 - os : macos-latest
6973 cxx : " clang++"
7074 link : " dynamic"
75+ optimization : " size"
7176 assert : " ndebug"
7277 coverage : " nocov"
7378 boost : " --build-boost"
8085 - os : macos-latest
8186 cxx : " clang++"
8287 link : " static"
88+ optimization : " size"
8389 assert : " ndebug"
8490 coverage : " nocov"
8591 boost : " --build-boost"
8995 packager : " brew"
9096 packages : " "
9197
98+
9299 runs-on : ${{ matrix.os }}
93100
94101 env :
@@ -195,6 +202,12 @@ jobs:
195202 run : |
196203 DYLD_PRINT_LIBRARIES=1 ${{ github.workspace }}/test/.libs/libbitcoin-database-test
197204
205+ - name : Failure display pkgconfig
206+ if : ${{ failure() }}
207+ run : |
208+ ls ${{ github.workspace }}/prefixenv/lib/pkgconfig/
209+ cat ${{ github.workspace }}/prefixenv/lib/pkgconfig/*.pc
210+
198211 cmake :
199212
200213 strategy :
@@ -205,6 +218,7 @@ jobs:
205218 - os : ubuntu-latest
206219 cxx : " clang++"
207220 link : " dynamic"
221+ optimization : " size"
208222 assert : " debug"
209223 coverage : " nocov"
210224 boost : " --build-boost"
@@ -217,6 +231,7 @@ jobs:
217231 - os : ubuntu-latest
218232 cxx : " clang++"
219233 link : " static"
234+ optimization : " size"
220235 assert : " ndebug"
221236 coverage : " nocov"
222237 boost : " --build-boost"
@@ -229,6 +244,7 @@ jobs:
229244 - os : ubuntu-latest
230245 cxx : " g++"
231246 link : " dynamic"
247+ optimization : " size"
232248 assert : " ndebug"
233249 coverage : " nocov"
234250 boost : " --build-boost"
@@ -238,9 +254,23 @@ jobs:
238254 packager : " apt"
239255 packages : " "
240256
257+ - os : ubuntu-latest
258+ cxx : " g++"
259+ link : " static"
260+ optimization : " debug"
261+ assert : " ndebug"
262+ coverage : " nocov"
263+ boost : " --build-boost"
264+ icu : " --build-icu --with-icu"
265+ cc : " gcc"
266+ flags : " -Og -fPIE"
267+ packager : " apt"
268+ packages : " "
269+
241270 - os : macos-latest
242271 cxx : " clang++"
243272 link : " dynamic"
273+ optimization : " size"
244274 assert : " ndebug"
245275 coverage : " nocov"
246276 boost : " --build-boost"
@@ -253,6 +283,7 @@ jobs:
253283 - os : macos-latest
254284 cxx : " clang++"
255285 link : " static"
286+ optimization : " size"
256287 assert : " ndebug"
257288 coverage : " nocov"
258289 boost : " --build-boost"
@@ -262,6 +293,7 @@ jobs:
262293 packager : " brew"
263294 packages : " "
264295
296+
265297 runs-on : ${{ matrix.os }}
266298
267299 env :
@@ -329,19 +361,64 @@ jobs:
329361 path-to-lcov : " ./coverage.info"
330362 github-token : ${{ secrets.github_token }}
331363
332- - name : Failure Display cmake test output
333- if : ${{failure() }}
364+ - name : Failure display available binaries
365+ if : ${{ failure() }}
366+ run : |
367+ ls -la /usr/bin
368+
369+ - name : Failure display selected compiler version
370+ if : ${{ failure() }}
371+ run : |
372+ ${CC} -v
373+ ${CXX} -v
374+
375+ - name : Failure display default compiler version
376+ if : ${{ failure() }}
334377 run : |
335- gcc -v
336378 clang -v
337- echo "--- ENVIRONMENT ---"
379+ gcc -v
380+
381+ - name : Failure display env
382+ if : ${{ failure() }}
383+ run : |
338384 env
339- echo "--- END ENVIRONMENT ---"
340- cat ${{ github.workspace }}/Testing/Temporary/LastTest.log
385+
386+ - name : Failure list libdir
387+ if : ${{ failure() }}
388+ run : |
389+ ls -la ${{ github.workspace }}/prefixenv/lib
390+
391+ - name : Failure display boost bootstrap.log [--build-boost]
392+ if : ${{ failure() && (matrix.boost == '--build-boost') }}
393+ run : |
394+ cat ${{ github.workspace }}/build/build-*/bootstrap.log
395+
396+ - name : Failure display otool output
397+ if : ${{ failure() && (matrix.os == 'macos-latest') }}
398+ run : |
399+ otool -L ${{ github.workspace }}/test/.libs/libbitcoin-database-test
400+
401+ - name : Failure display DYLD_PRINT_LIBRARIES
402+ if : ${{ failure() && (matrix.os == 'macos-latest') }}
403+ run : |
404+ DYLD_PRINT_LIBRARIES=1 ${{ github.workspace }}/test/.libs/libbitcoin-database-test
405+
406+ - name : Failure display pkgconfig
407+ if : ${{ failure() }}
408+ run : |
341409 ls ${{ github.workspace }}/prefixenv/lib/pkgconfig/
342410 cat ${{ github.workspace }}/prefixenv/lib/pkgconfig/*.pc
411+
412+ - name : Failure display cmake specific libraries
413+ if : ${{ failure() }}
414+ run : |
343415 ls ${{ github.workspace }}/prefixenv/lib/cmake
344416
417+ - name : Failure display cmake LastTest.log
418+ if : ${{ failure() }}
419+ run : |
420+ cat ${{ github.workspace }}/Testing/Temporary/LastTest.log
421+
345422 msbuild :
346423 strategy :
347424 fail-fast : false
0 commit comments