Skip to content

Commit 0b5818e

Browse files
committed
GitHub Workflow: Use new setup-godot-cpp github action from godot-cpp submodule.
1 parent f9564a9 commit 0b5818e

File tree

3 files changed

+17
-120
lines changed

3 files changed

+17
-120
lines changed

.github/actions/build/action.yml

Lines changed: 0 additions & 114 deletions
This file was deleted.

.github/workflows/builds.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,24 @@ jobs:
276276
# clang-format src/** --dry-run --Werror
277277

278278
# Build
279-
- name: 🔗 GDExtension Debug Build
280-
uses: ./.github/actions/build
279+
- name: Setup godot-cpp
280+
uses: ./godot-cpp/.github/actions/setup-godot-cpp
281281
with:
282282
platform: ${{ matrix.platform }}
283-
arch: ${{ matrix.arch }}
284-
float-precision: ${{ matrix.float-precision }}
285-
build-target-type: ${{ matrix.target-type }}
283+
em-version: 3.1.62
284+
285+
# Build GDExtension
286+
- name: Cache .scons_cache
287+
uses: actions/cache@v4
288+
with:
289+
path: ${{ github.workspace }}/.scons-cache/
290+
key: ${{ matrix.platform }}_${{ matrix.arch }}_${{ matrix.float-precision }}_${{ matrix.target-type }}_cache
291+
- name: Build GDExtension Debug Build
292+
shell: sh
293+
env:
294+
SCONS_CACHE: ${{ github.workspace }}/.scons-cache/
295+
run: |
296+
scons target=${{ matrix.target-type }} platform=${{ matrix.platform }} arch=${{ matrix.arch }} precision=${{ matrix.float-precision }}
286297
287298
# Sign
288299
- name: Mac Sign

godot-cpp

Submodule godot-cpp updated 59 files

0 commit comments

Comments
 (0)