File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 91
91
path : /tmp/android-ndk-r16b
92
92
key : android-ndk-${{ matrix.os }}-r16b
93
93
94
+ - name : Check cached NDK
95
+ shell : bash
96
+ if : steps.cache_ndk.outputs.cache-hit != 'true'
97
+ run : |
98
+ # If the NDK failed to download from the cache, but there is a
99
+ # /tmp/android-ndk-r16b directory, it's incomplete, so remove it.
100
+ if [[ -d "/tmp/android-ndk-r16b" ]]; then
101
+ echo "Removing incomplete download of NDK"
102
+ rm -rf /tmp/android-ndk-r16b
103
+ fi
104
+
94
105
- name : Update homebrew (avoid bintray errors)
95
106
uses : nick-invision/retry@v2
96
107
if : startsWith(matrix.os, 'macos')
Original file line number Diff line number Diff line change @@ -147,6 +147,13 @@ if(DESKTOP AND APPLE)
147
147
endif ()
148
148
endif ()
149
149
150
+ if (APPLE )
151
+ # For iOS and macOS, disable nullability completeness warning, as it makes the
152
+ # build output for our Objective-C++ files much too verbose.
153
+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-nullability-completeness" )
154
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-nullability-completeness" )
155
+ endif ()
156
+
150
157
if (DESKTOP AND NOT MSVC AND NOT APPLE )
151
158
# Linux-specific option.
152
159
if (FIREBASE_LINUX_USE_CXX11_ABI )
You can’t perform that action at this time.
0 commit comments