Skip to content

Commit

Permalink
GitHub Workflow: Use new setup-godot-cpp github action from godot-cpp…
Browse files Browse the repository at this point in the history
… submodule.
  • Loading branch information
Ivorforce committed Dec 9, 2024
1 parent f9564a9 commit 45f0369
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 121 deletions.
114 changes: 0 additions & 114 deletions .github/actions/build/action.yml

This file was deleted.

23 changes: 17 additions & 6 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_call:
push:
pull_request:
merge_group:
merge_group:

env:
LIBNAME: example
Expand Down Expand Up @@ -276,13 +276,24 @@ jobs:
# clang-format src/** --dry-run --Werror

# Build
- name: 🔗 GDExtension Debug Build
uses: ./.github/actions/build
- name: Setup godot-cpp
uses: ./godot-cpp/.github/actions/setup-godot-cpp
with:
platform: ${{ matrix.platform }}
arch: ${{ matrix.arch }}
float-precision: ${{ matrix.float-precision }}
build-target-type: ${{ matrix.target-type }}
em-version: 3.1.62

# Build GDExtension
- name: Cache .scons_cache
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/.scons-cache/
key: ${{ matrix.platform }}_${{ matrix.arch }}_${{ matrix.float-precision }}_${{ matrix.target-type }}_cache
- name: Build GDExtension Debug Build
shell: sh
env:
SCONS_CACHE: ${{ github.workspace }}/.scons-cache/
run: |
scons target=${{ matrix.target-type }} platform=${{ matrix.platform }} arch=${{ matrix.arch }} precision=${{ matrix.float-precision }}
# Sign
- name: Mac Sign
Expand Down
2 changes: 1 addition & 1 deletion godot-cpp
Submodule godot-cpp updated 59 files
+14 −11 .github/actions/godot-cache-restore/action.yml
+6 −5 .github/actions/godot-cache-save/action.yml
+62 −0 .github/actions/setup-godot-cpp/action.yml
+27 −77 .github/workflows/ci.yml
+21 −0 .github/workflows/runner.yml
+3 −2 .github/workflows/static_checks.yml
+7 −0 .gitignore
+56 −227 CMakeLists.txt
+225 −70 binding_generator.py
+0 −94 cmake/GodotCompilerWarnings.cmake
+41 −0 cmake/android.cmake
+175 −0 cmake/common_compiler_flags.cmake
+40 −0 cmake/emsdkHack.cmake
+330 −0 cmake/godotcpp.cmake
+22 −0 cmake/ios.cmake
+22 −0 cmake/linux.cmake
+59 −0 cmake/macos.cmake
+42 −0 cmake/web.cmake
+100 −0 cmake/windows.cmake
+345 −0 doc/cmake.rst
+3,940 −275 gdextension/extension_api.json
+124 −6 gdextension/gdextension_interface.h
+6 −2 include/godot_cpp/classes/ref.hpp
+22 −18 include/godot_cpp/classes/wrapped.hpp
+13 −7 include/godot_cpp/core/class_db.hpp
+8 −0 include/godot_cpp/core/defs.hpp
+75 −0 include/godot_cpp/core/print_string.hpp
+213 −11 include/godot_cpp/core/type_info.hpp
+5 −2 include/godot_cpp/godot.hpp
+1 −1 include/godot_cpp/templates/safe_refcount.hpp
+1 −1 include/godot_cpp/variant/basis.hpp
+42 −44 include/godot_cpp/variant/quaternion.hpp
+238 −0 include/godot_cpp/variant/typed_dictionary.hpp
+3 −2 include/godot_cpp/variant/variant.hpp
+510 −0 include/godot_cpp/variant/variant_internal.hpp
+4 −3 include/godot_cpp/variant/vector4.hpp
+25 −23 src/classes/wrapped.cpp
+6 −1 src/core/class_db.cpp
+39 −0 src/core/print_string.cpp
+10 −4 src/godot.cpp
+5 −2 src/variant/basis.cpp
+6 −0 src/variant/packed_arrays.cpp
+28 −40 src/variant/quaternion.cpp
+7 −6 src/variant/variant.cpp
+43 −0 src/variant/variant_internal.cpp
+54 −129 test/CMakeLists.txt
+1 −0 test/SConstruct
+24 −2 test/project/main.gd
+64 −0 test/src/example.cpp
+19 −0 test/src/example.h
+1 −0 test/src/register_types.cpp
+5 −0 tools/android.py
+31 −1 tools/common_compiler_flags.py
+9 −0 tools/godotcpp.py
+5 −0 tools/ios.py
+4 −0 tools/linux.py
+5 −0 tools/macos.py
+9 −1 tools/web.py
+64 −12 tools/windows.py

0 comments on commit 45f0369

Please sign in to comment.