File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ permissions: write-all
40
40
jobs :
41
41
build_desktop :
42
42
name : build-windows-unity${{inputs.unity_version}}-CPP${{ inputs.firebase_cpp_sdk_version }}
43
- runs-on : windows-2019
43
+ runs-on : windows-latest
44
44
strategy :
45
45
fail-fast : false
46
46
@@ -108,13 +108,15 @@ jobs:
108
108
- name : Remove zlib
109
109
shell : bash
110
110
run : |
111
- rm C:/msys64/mingw64/lib/libz*
111
+ rm -f C:/mingw32/i686-w64-mingw32/lib/libz*
112
+ rm -f C:/mingw64/x86_64-w64-mingw32/lib/libz*
113
+ rm -f C:/msys64/mingw64/lib/libz*
112
114
113
115
# Strawberry Perl has zlib within, so we also remove it
114
116
- name : Remove Strawberry
115
117
shell : bash
116
118
run : |
117
- rm -r C:/Strawberry
119
+ rm -rf C:/Strawberry
118
120
119
121
- name : Build SDK (Windows)
120
122
timeout-minutes : 90
Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ endmacro()
204
204
# sys_references: System CSharp libraries this depends on
205
205
# dep_targets: Targets this target depends on and need to be linked/built first
206
206
# guid: MSBuild project guid (for use with solution files)
207
- # framework_version: .net framework version, defaults to 4.5
207
+ # framework_version: .net framework version, defaults to 4.7.2
208
208
# defines: Extra defines to add to the project file
209
209
# assembly_name: Name of the output assembly. Defaults to module
210
210
# xbuild: Path to xbuild executable. Defaults to XBUILD_EXE global var
@@ -259,7 +259,7 @@ macro(mono_add_internal name output_type)
259
259
endif ()
260
260
261
261
if ("${UNITY_MONO_FRAMEWORK_VERSION} " STREQUAL "" )
262
- set (UNITY_MONO_FRAMEWORK_VERSION "4.5 " )
262
+ set (UNITY_MONO_FRAMEWORK_VERSION "4.7.2 " )
263
263
endif ()
264
264
265
265
if ("${UNITY_MONO_ASSEMBLY_NAME} " STREQUAL "" )
Original file line number Diff line number Diff line change @@ -430,7 +430,7 @@ def get_windows_args():
430
430
cmake args for windows platform.
431
431
"""
432
432
result_args = []
433
- result_args .append ('-G Visual Studio 16 2019 ' )
433
+ result_args .append ('-G Visual Studio 17 2022 ' )
434
434
result_args .append ('-A x64' ) # TODO flexibily for x32
435
435
result_args .append ("-DFIREBASE_PYTHON_HOST_EXECUTABLE:FILEPATH=%s" % sys .executable )
436
436
# Use a newer version of the Windows SDK, as the default one has build issues with grpc
You can’t perform that action at this time.
0 commit comments