Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,33 @@ jobs:
path: bin/libgodot-cpp.windows.release.64.lib
if-no-files-found: error

windows-msvc-cmake:
name: Build (Windows, MSVC, CMake)
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive

- name: Set up Python (for binding generator)
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Build godot-cpp
run: |
# MSVS generator supports multiple configurations but godot-cpp CMake requires CMAKE_BUILD_TYPE
cmake -G "Visual Studio 16 2019" -T v142 -A x64 -DCMAKE_C_FLAGS=/MP -DCMAKE_CXX_FLAGS=/MP -DCMAKE_BUILD_TYPE=Release .
cmake --build . --config "Release" -- /maxcpucount /property:BuildInParallel=true /property:CL_MPCount=2 /verbosity:minimal

- name: Build test project
run: |
cd test
# MSVS generator supports multiple configurations but godot-cpp CMake requires CMAKE_BUILD_TYPE
cmake -G "Visual Studio 16 2019" -T v142 -A x64 -DCMAKE_C_FLAGS=/MP -DCMAKE_CXX_FLAGS=/MP -DCMAKE_BUILD_TYPE=Release .
cmake --build . --config "Release" -- /maxcpucount /property:BuildInParallel=true /property:CL_MPCount=2 /verbosity:minimal

windows-mingw:
name: Build (Windows, MinGW)
runs-on: windows-2019
Expand Down