Test build GNnative library in CI

This commit is contained in:
O01eg
2020-11-28 12:05:00 +03:00
parent e2831ff5fa
commit d6101538e6
4 changed files with 222 additions and 0 deletions

View File

@@ -33,6 +33,10 @@ jobs:
path: bin/libgodot-cpp.linux.release.64.a
if-no-files-found: error
- name: Build test GDNative library
run: |
scons target=release platform=linux bits=64 -j $(nproc) -C test;
windows-msvc:
name: Build (Windows, MSVC)
runs-on: windows-2019
@@ -62,6 +66,10 @@ jobs:
path: bin/libgodot-cpp.windows.release.64.lib
if-no-files-found: error
- name: Build test GDNative library
run: |
scons target=release platform=windows bits=64 -j $env:NUMBER_OF_PROCESSORS -C test;
windows-mingw:
name: Build (Windows, MinGW)
runs-on: windows-2019
@@ -96,6 +104,10 @@ jobs:
path: bin/libgodot-cpp.windows.release.64.a
if-no-files-found: error
- name: Build test GDNative library
run: |
scons target=release platform=windows bits=64 -j $env:NUMBER_OF_PROCESSORS -C test;
macos:
name: Build (macOS, Clang)
runs-on: macos-10.15
@@ -125,6 +137,10 @@ jobs:
path: bin/libgodot-cpp.osx.release.64.a
if-no-files-found: error
- name: Build test GDNative library
run: |
scons target=release platform=osx bits=64 -j $(sysctl -n hw.logicalcpu) -C test;
static-checks:
name: Static Checks (clang-format)
runs-on: ubuntu-16.04