Skip to content

Commit 10016a2

Browse files
darinfkendalharland
authored andcommitted
Build storage and functions (#26)
Changes: - Adds `FIREBASE_INCLUDE_{FUNCTIONS,STORAGE}` defines to the `cmake` build. - Includes corresponding header files in the nuget package. - Includes generated libs in the nuget package. - Removes `upb.lib` which appears to no longer be generated.
1 parent cc5949e commit 10016a2

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/bcny-firebase.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ jobs:
7777
-D FIREBASE_INCLUDE_LIBRARY_DEFAULT=OFF `
7878
-D FIREBASE_INCLUDE_AUTH=YES `
7979
-D FIREBASE_INCLUDE_FIRESTORE=YES `
80+
-D FIREBASE_INCLUDE_FUNCTIONS=YES `
81+
-D FIREBASE_INCLUDE_STORAGE=YES `
8082
-D FIREBASE_USE_BORINGSSL=YES `
8183
-D MSVC_RUNTIME_LIBRARY_STATIC=NO `
8284
-D CMAKE_C_FLAGS="/D_HAS_EXCEPTIONS=0 /EHsc-"`
@@ -110,6 +112,8 @@ jobs:
110112
-D FIREBASE_INCLUDE_LIBRARY_DEFAULT=OFF `
111113
-D FIREBASE_INCLUDE_AUTH=YES `
112114
-D FIREBASE_INCLUDE_FIRESTORE=YES `
115+
-D FIREBASE_INCLUDE_FUNCTIONS=YES `
116+
-D FIREBASE_INCLUDE_STORAGE=YES `
113117
-D FIREBASE_USE_BORINGSSL=YES `
114118
-D MSVC_RUNTIME_LIBRARY_STATIC=NO `
115119
-D CMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded `
@@ -168,8 +172,10 @@ jobs:
168172
<file src="`$BUILDROOT`$\usr\include\firebase\app.h" target="include/firebase" />
169173
<file src="`$BUILDROOT`$\usr\include\firebase\auth.h" target="include/firebase" />
170174
<file src="`$BUILDROOT`$\usr\include\firebase\firestore.h" target="include/firebase" />
175+
<file src="`$BUILDROOT`$\usr\include\firebase\functions.h" target="include/firebase" />
171176
<file src="`$BUILDROOT`$\usr\include\firebase\future.h" target="include/firebase" />
172177
<file src="`$BUILDROOT`$\usr\include\firebase\log.h" target="include/firebase" />
178+
<file src="`$BUILDROOT`$\usr\include\firebase\storage.h" target="include/firebase" />
173179
<file src="`$BUILDROOT`$\usr\include\firebase\util.h" target="include/firebase" />
174180
<file src="`$BUILDROOT`$\usr\include\firebase\variant.h" target="include/firebase" />
175181
<file src="`$BUILDROOT`$\usr\include\firebase\auth\credential.h" target="include/firebase/auth" />
@@ -200,6 +206,14 @@ jobs:
200206
<file src="`$BUILDROOT`$\usr\include\firebase\firestore\transaction.h" target="include/firebase/firestore" />
201207
<file src="`$BUILDROOT`$\usr\include\firebase\firestore\transaction_options.h" target="include/firebase/firestore" />
202208
<file src="`$BUILDROOT`$\usr\include\firebase\firestore\write_batch.h" target="include/firebase/firestore" />
209+
<file src="`$BUILDROOT`$\usr\include\firebase\functions\callable_reference.h" target="include/firebase/functions" />
210+
<file src="`$BUILDROOT`$\usr\include\firebase\functions\callable_result.h" target="include/firebase/functions" />
211+
<file src="`$BUILDROOT`$\usr\include\firebase\functions\common.h" target="include/firebase/functions" />
212+
<file src="`$BUILDROOT`$\usr\include\firebase\storage\common.h" target="include/firebase/storage" />
213+
<file src="`$BUILDROOT`$\usr\include\firebase\storage\controller.h" target="include/firebase/storage" />
214+
<file src="`$BUILDROOT`$\usr\include\firebase\storage\listener.h" target="include/firebase/storage" />
215+
<file src="`$BUILDROOT`$\usr\include\firebase\storage\metadata.h" target="include/firebase/storage" />
216+
<file src="`$BUILDROOT`$\usr\include\firebase\storage\storage_reference.h" target="include/firebase/storage" />
203217
<file src="`$BUILDROOT`$\usr\include\firebase\internal\common.h" target="include/firebase/internal" />
204218
<file src="`$BUILDROOT`$\usr\include\firebase\internal\future_impl.h" target="include/firebase/internal" />
205219
<file src="`$BUILDROOT`$\usr\include\firebase\internal\mutex.h" target="include/firebase/internal" />
@@ -210,6 +224,8 @@ jobs:
210224
<file src="`$BUILDROOT`$\usr\libs\windows\firebase_app.lib" target="lib" />
211225
<file src="`$BUILDROOT`$\usr\libs\windows\firebase_auth.lib" target="lib" />
212226
<file src="`$BUILDROOT`$\usr\libs\windows\firebase_firestore.lib" target="lib" />
227+
<file src="`$BUILDROOT`$\usr\libs\windows\firebase_functions.lib" target="lib" />
228+
<file src="`$BUILDROOT`$\usr\libs\windows\firebase_storage.lib" target="lib" />
213229
<file src="`$BUILDROOT`$\usr\libs\windows\firebase_rest_lib.lib" target="lib" />
214230
<file src="`$BUILDROOT`$\usr\libs\windows\firestore_core.lib" target="lib" />
215231
<file src="`$BUILDROOT`$\usr\libs\windows\firestore_nanopb.lib" target="lib" />
@@ -277,7 +293,6 @@ jobs:
277293
<file src="`$BUILDROOT`$\usr\libs\windows\re2.lib" target="lib" />
278294
<file src="`$BUILDROOT`$\usr\libs\windows\snappy.lib" target="lib" />
279295
<file src="`$BUILDROOT`$\usr\libs\windows\ssl.lib" target="lib" />
280-
<file src="`$BUILDROOT`$\usr\libs\windows\upb.lib" target="lib" />
281296
<file src="`$BUILDROOT`$\usr\libs\windows\uv_a.lib" target="lib" />
282297
<file src="`$BUILDROOT`$\usr\libs\windows\zlibstatic.lib" target="lib" />
283298
</files>

0 commit comments

Comments
 (0)