2020 - os : ubuntu-latest
2121 cxx : " clang++"
2222 link : " dynamic"
23+ optimization : " size"
2324 assert : " debug"
2425 coverage : " nocov"
2526 boost : " --build-boost"
3334 - os : ubuntu-latest
3435 cxx : " clang++"
3536 link : " static"
37+ optimization : " size"
3638 assert : " ndebug"
3739 coverage : " nocov"
3840 boost : " --build-boost"
4648 - os : ubuntu-latest
4749 cxx : " g++"
4850 link : " dynamic"
51+ optimization : " size"
4952 assert : " ndebug"
5053 coverage : " nocov"
5154 boost : " --build-boost"
5962 - os : ubuntu-latest
6063 cxx : " g++"
6164 link : " static"
65+ optimization : " debug"
6266 assert : " ndebug"
6367 coverage : " cov"
6468 boost : " --build-boost"
7276 - os : macos-latest
7377 cxx : " clang++"
7478 link : " dynamic"
79+ optimization : " size"
7580 assert : " ndebug"
7681 coverage : " nocov"
7782 boost : " --build-boost"
8590 - os : macos-latest
8691 cxx : " clang++"
8792 link : " static"
93+ optimization : " size"
8894 assert : " ndebug"
8995 coverage : " nocov"
9096 boost : " --build-boost"
95101 packager : " brew"
96102 packages : " "
97103
104+
98105 runs-on : ${{ matrix.os }}
99106
100107 env :
@@ -202,6 +209,12 @@ jobs:
202209 run : |
203210 DYLD_PRINT_LIBRARIES=1 ${{ github.workspace }}/test/.libs/libbitcoin-node-test
204211
212+ - name : Failure display pkgconfig
213+ if : ${{ failure() }}
214+ run : |
215+ ls ${{ github.workspace }}/prefixenv/lib/pkgconfig/
216+ cat ${{ github.workspace }}/prefixenv/lib/pkgconfig/*.pc
217+
205218 cmake :
206219
207220 strategy :
@@ -212,6 +225,7 @@ jobs:
212225 - os : ubuntu-latest
213226 cxx : " clang++"
214227 link : " dynamic"
228+ optimization : " size"
215229 assert : " debug"
216230 coverage : " nocov"
217231 boost : " --build-boost"
@@ -225,6 +239,7 @@ jobs:
225239 - os : ubuntu-latest
226240 cxx : " clang++"
227241 link : " static"
242+ optimization : " size"
228243 assert : " ndebug"
229244 coverage : " nocov"
230245 boost : " --build-boost"
@@ -238,19 +253,35 @@ jobs:
238253 - os : ubuntu-latest
239254 cxx : " g++"
240255 link : " dynamic"
256+ optimization : " size"
241257 assert : " ndebug"
242258 coverage : " nocov"
243259 boost : " --build-boost"
244- consensus : " --without- consensus"
260+ consensus : " -Dwith- consensus=no "
245261 icu : " "
246262 cc : " gcc"
247263 flags : " -Os -fPIE"
248264 packager : " apt"
249265 packages : " "
250266
267+ - os : ubuntu-latest
268+ cxx : " g++"
269+ link : " static"
270+ optimization : " debug"
271+ assert : " ndebug"
272+ coverage : " nocov"
273+ boost : " --build-boost"
274+ consensus : " "
275+ icu : " --build-icu --with-icu"
276+ cc : " gcc"
277+ flags : " -Og -fPIE"
278+ packager : " apt"
279+ packages : " "
280+
251281 - os : macos-latest
252282 cxx : " clang++"
253283 link : " dynamic"
284+ optimization : " size"
254285 assert : " ndebug"
255286 coverage : " nocov"
256287 boost : " --build-boost"
@@ -264,16 +295,18 @@ jobs:
264295 - os : macos-latest
265296 cxx : " clang++"
266297 link : " static"
298+ optimization : " size"
267299 assert : " ndebug"
268300 coverage : " nocov"
269301 boost : " --build-boost"
270- consensus : " --without- consensus"
302+ consensus : " -Dwith- consensus=no "
271303 icu : " --build-icu --with-icu"
272304 cc : " clang"
273305 flags : " -Os -fvisibility=hidden -fPIE"
274306 packager : " brew"
275307 packages : " "
276308
309+
277310 runs-on : ${{ matrix.os }}
278311
279312 env :
@@ -342,19 +375,64 @@ jobs:
342375 path-to-lcov : " ./coverage.info"
343376 github-token : ${{ secrets.github_token }}
344377
345- - name : Failure Display cmake test output
346- if : ${{failure() }}
378+ - name : Failure display available binaries
379+ if : ${{ failure() }}
380+ run : |
381+ ls -la /usr/bin
382+
383+ - name : Failure display selected compiler version
384+ if : ${{ failure() }}
385+ run : |
386+ ${CC} -v
387+ ${CXX} -v
388+
389+ - name : Failure display default compiler version
390+ if : ${{ failure() }}
347391 run : |
348- gcc -v
349392 clang -v
350- echo "--- ENVIRONMENT ---"
393+ gcc -v
394+
395+ - name : Failure display env
396+ if : ${{ failure() }}
397+ run : |
351398 env
352- echo "--- END ENVIRONMENT ---"
353- cat ${{ github.workspace }}/Testing/Temporary/LastTest.log
399+
400+ - name : Failure list libdir
401+ if : ${{ failure() }}
402+ run : |
403+ ls -la ${{ github.workspace }}/prefixenv/lib
404+
405+ - name : Failure display boost bootstrap.log [--build-boost]
406+ if : ${{ failure() && (matrix.boost == '--build-boost') }}
407+ run : |
408+ cat ${{ github.workspace }}/build/build-*/bootstrap.log
409+
410+ - name : Failure display otool output
411+ if : ${{ failure() && (matrix.os == 'macos-latest') }}
412+ run : |
413+ otool -L ${{ github.workspace }}/test/.libs/libbitcoin-node-test
414+
415+ - name : Failure display DYLD_PRINT_LIBRARIES
416+ if : ${{ failure() && (matrix.os == 'macos-latest') }}
417+ run : |
418+ DYLD_PRINT_LIBRARIES=1 ${{ github.workspace }}/test/.libs/libbitcoin-node-test
419+
420+ - name : Failure display pkgconfig
421+ if : ${{ failure() }}
422+ run : |
354423 ls ${{ github.workspace }}/prefixenv/lib/pkgconfig/
355424 cat ${{ github.workspace }}/prefixenv/lib/pkgconfig/*.pc
425+
426+ - name : Failure display cmake specific libraries
427+ if : ${{ failure() }}
428+ run : |
356429 ls ${{ github.workspace }}/prefixenv/lib/cmake
357430
431+ - name : Failure display cmake LastTest.log
432+ if : ${{ failure() }}
433+ run : |
434+ cat ${{ github.workspace }}/Testing/Temporary/LastTest.log
435+
358436 msbuild :
359437 strategy :
360438 fail-fast : false
0 commit comments