changeset 1847:9d8af2da9b60

github action workaround macos ranlib
author Matt Johnston <matt@ucc.asn.au>
date Mon, 18 Oct 2021 23:45:09 +0800
parents 39a27a02f1ae
children 84b664071c7d
files .github/workflows/build.yml
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/build.yml	Mon Oct 18 23:36:23 2021 +0800
+++ b/.github/workflows/build.yml	Mon Oct 18 23:45:09 2021 +0800
@@ -36,14 +36,17 @@
             wextraflags: -Wno-deprecated-declarations -Werror
             skipcheck: True
             exoticos: True
+            # fails with:
+            # .../ranlib: file: libtomcrypt.a(cbc_setiv.o) has no symbols
+            ranlib: ranlib -no_warning_for_no_symbols
 
           - name: macos 11
             os: macos-11
             cc: clang
-            # OS X says daemon() and utmp are deprecated
             wextraflags: -Wno-deprecated-declarations -Werror
             skipcheck: True
             exoticos: True
+            ranlib: ranlib -no_warning_for_no_symbols
 
           # # Fuzzers run standalone. A bit superfluous with cifuzz, but
           # # good to run the whole corpus to keep it working.
@@ -72,6 +75,7 @@
       CONFIGURE_FLAGS: ${{ matrix.configure_flags }}
       # for fuzzing
       CXX: clang++
+      RANLIB: ${{ matrix.ranlib || 'ranlib' }}
 
     steps:
       - name: deps