Skip to content

Commit 3d7c553

Browse files
committed
Test godot-cpp building with CMake and MSVS
1 parent cb837cb commit 3d7c553

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,25 @@ jobs:
7272
path: bin/libgodot-cpp.windows.release.64.lib
7373
if-no-files-found: error
7474

75+
windows-msvc-cmake:
76+
name: Build (Windows, MSVC, CMake)
77+
runs-on: windows-2019
78+
steps:
79+
- name: Checkout
80+
uses: actions/[email protected]
81+
with:
82+
submodules: recursive
83+
84+
- name: Set up Python (for binding generator)
85+
uses: actions/setup-python@v2
86+
with:
87+
python-version: '3.9.1'
88+
89+
- name: Build godot-cpp
90+
run: |
91+
cmake -G "Visual Studio 16 2019" -T v142 -A x64 -DCMAKE_C_FLAGS=/MP -DCMAKE_CXX_FLAGS=/MP .
92+
cmake --build . --config "Release" -- /maxcpucount /property:BuildInParallel=true /property:CL_MPCount=2 /verbosity:minimal
93+
7594
windows-mingw:
7695
name: Build (Windows, MinGW)
7796
runs-on: windows-2019

0 commit comments

Comments
 (0)