File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 9292 cmake -G "Visual Studio 16 2019" -T v142 -A x64 -DCMAKE_C_FLAGS=/MP -DCMAKE_CXX_FLAGS=/MP -DCMAKE_BUILD_TYPE=Release .
9393 cmake --build . --config "Release" -- /maxcpucount /property:BuildInParallel=true /property:CL_MPCount=2 /verbosity:minimal
9494
95+ windows-msvc-cmake-ninja :
96+ name : Build (Windows, MSVC, CMake+Ninja)
97+ runs-on : windows-2019
98+ steps :
99+ - name : Checkout
100+ 101+ with :
102+ submodules : recursive
103+
104+ - name : Set up Python (for binding generator)
105+ uses : actions/setup-python@v2
106+ with :
107+ python-version : ' 3.9.1'
108+
109+ - uses : seanmiddleditch/gha-setup-ninja@master
110+
111+ - name : Uninstall GCC
112+ run : |
113+ choco list --local-only
114+ choco uninstall mingw strawberryperl -y --remove-dependencies
115+
116+ - name : Add msbuild to PATH
117+ 118+ with :
119+ vs-version : ' [16.0,16.10)'
120+
121+ - name : Build godot-cpp
122+ run : |
123+ set CC=cl
124+ # MSVS generator supports multiple configurations but godot-cpp CMake requires CMAKE_BUILD_TYPE
125+ cmake -G Ninja -DCMAKE_C_FLAGS=/MP -DCMAKE_CXX_FLAGS=/MP -DCMAKE_BUILD_TYPE=Release .
126+ cmake --build . --config "Release"
127+
95128 windows-mingw :
96129 name : Build (Windows, MinGW)
97130 runs-on : windows-2019
You can’t perform that action at this time.
0 commit comments