Update action.yml
parent
91fe863773
commit
bc7f230a73
|
@ -23,6 +23,12 @@ inputs:
|
||||||
em_cache_folder:
|
em_cache_folder:
|
||||||
default: emsdk-cache
|
default: emsdk-cache
|
||||||
description: Emscripten cache folder.
|
description: Emscripten cache folder.
|
||||||
|
godot-cpp_folder:
|
||||||
|
default: godot-cpp
|
||||||
|
description: Location of godot-cpp in the repository.
|
||||||
|
gdextension_folder:
|
||||||
|
default: .
|
||||||
|
description: Location of the gdextension project within the repository.
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
|
@ -99,22 +105,22 @@ runs:
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ github.workspace }}/${{ inputs.gdextension-location }}/${{ inputs.scons-cache }}/
|
${{ github.workspace }}/${{ inputs.gdextension_folder }}/${{ inputs.scons-cache }}/
|
||||||
${{ github.workspace }}/${{ inputs.godot-cpp }}/${{ inputs.scons-cache }}/
|
${{ github.workspace }}/${{ inputs.godot-cpp_folder }}/${{ inputs.scons-cache }}/
|
||||||
key: ${{ inputs.platform }}_${{ inputs.arch }}_${{ inputs.float-precision }}_${{ inputs.build-target-type }}_cache
|
key: ${{ inputs.platform }}_${{ inputs.arch }}_${{ inputs.float-precision }}_${{ inputs.build-target-type }}_cache
|
||||||
# Build godot-cpp
|
# Build godot-cpp
|
||||||
- name: Build godot-cpp Debug Build
|
- name: Build godot-cpp Debug Build
|
||||||
shell: sh
|
shell: sh
|
||||||
env:
|
env:
|
||||||
SCONS_CACHE: ${{ github.workspace }}/${{ inputs.godot-cpp }}/${{ inputs.scons-cache }}/
|
SCONS_CACHE: ${{ github.workspace }}/${{ inputs.godot-cpp_folder }}/${{ inputs.scons-cache }}/
|
||||||
run: |
|
run: |
|
||||||
scons target=${{ inputs.build-target-type }} platform=${{ inputs.platform }} arch=${{ inputs.arch }} generate_bindings=yes precision=${{ inputs.float-precision }}
|
scons target=${{ inputs.build-target-type }} platform=${{ inputs.platform }} arch=${{ inputs.arch }} generate_bindings=yes precision=${{ inputs.float-precision }}
|
||||||
working-directory: ${{ inputs.godot-cpp }}
|
working-directory: ${{ inputs.godot-cpp_folder }}
|
||||||
# Build gdextension
|
# Build gdextension
|
||||||
- name: Build GDExtension Debug Build
|
- name: Build GDExtension Debug Build
|
||||||
shell: sh
|
shell: sh
|
||||||
env:
|
env:
|
||||||
SCONS_CACHE: ${{ github.workspace }}/${{ inputs.gdextension-location }}/${{ inputs.scons-cache }}/
|
SCONS_CACHE: ${{ github.workspace }}/${{ inputs.gdextension_folder }}/${{ inputs.scons-cache }}/
|
||||||
run: |
|
run: |
|
||||||
scons target=${{ inputs.build-target-type }} platform=${{ inputs.platform }} arch=${{ inputs.arch }} precision=${{ inputs.float-precision }} production=yes
|
scons target=${{ inputs.build-target-type }} platform=${{ inputs.platform }} arch=${{ inputs.arch }} precision=${{ inputs.float-precision }} production=yes
|
||||||
working-directory: ${{ inputs.gdextension-location }}
|
working-directory: ${{ inputs.gdextension_folder }}
|
||||||
|
|
Loading…
Reference in New Issue