File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,33 @@ jobs:
120120 path : bin/libgodot-cpp.windows.release.64.lib
121121 if-no-files-found : error
122122
123+ windows-msvc-cmake :
124+ name : Build (Windows, MSVC, CMake)
125+ runs-on : windows-2019
126+ steps :
127+ - name : Checkout
128+ uses : actions/checkout@v2
129+ with :
130+ submodules : recursive
131+
132+ - name : Set up Python (for binding generator)
133+ uses : actions/setup-python@v2
134+ with :
135+ python-version : ' 3.x'
136+
137+ - name : Build godot-cpp
138+ run : |
139+ # MSVS generator supports multiple configurations but godot-cpp CMake requires CMAKE_BUILD_TYPE
140+ cmake -G "Visual Studio 16 2019" -T v142 -A x64 -DCMAKE_C_FLAGS=/MP -DCMAKE_CXX_FLAGS=/MP -DCMAKE_BUILD_TYPE=Release .
141+ cmake --build . --config "Release" -- /maxcpucount /property:BuildInParallel=true /property:CL_MPCount=2 /verbosity:minimal
142+
143+ - name : Build test project
144+ run : |
145+ cd test
146+ # MSVS generator supports multiple configurations but godot-cpp CMake requires CMAKE_BUILD_TYPE
147+ cmake -G "Visual Studio 16 2019" -T v142 -A x64 -DCMAKE_C_FLAGS=/MP -DCMAKE_CXX_FLAGS=/MP -DCMAKE_BUILD_TYPE=Release .
148+ cmake --build . --config "Release" -- /maxcpucount /property:BuildInParallel=true /property:CL_MPCount=2 /verbosity:minimal
149+
123150 windows-mingw :
124151 name : Build (Windows, MinGW)
125152 runs-on : windows-2019
You can’t perform that action at this time.
0 commit comments