Merge pull request #80 from unvermuthet/updatable-caches
This commit is contained in:
16
.github/workflows/builds.yml
vendored
16
.github/workflows/builds.yml
vendored
@@ -63,11 +63,13 @@ jobs:
|
|||||||
em-version: 3.1.62
|
em-version: 3.1.62
|
||||||
|
|
||||||
# Build GDExtension (with caches)
|
# Build GDExtension (with caches)
|
||||||
- name: Cache .scons_cache
|
|
||||||
uses: actions/cache@v4
|
- name: Restore .scons_cache
|
||||||
|
uses: ./godot-cpp/.github/actions/godot-cache-restore
|
||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}/.scons-cache/
|
scons-cache: ${{ github.workspace }}/.scons-cache/
|
||||||
key: ${{ matrix.target.platform }}_${{ matrix.target.arch }}_${{ matrix.float-precision }}_${{ matrix.target-type }}_cache
|
cache-name: ${{ matrix.target.platform }}_${{ matrix.target.arch }}_${{ matrix.float-precision }}_${{ matrix.target-type }}
|
||||||
|
|
||||||
- name: Build GDExtension Debug Build
|
- name: Build GDExtension Debug Build
|
||||||
shell: sh
|
shell: sh
|
||||||
env:
|
env:
|
||||||
@@ -75,6 +77,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
scons target=${{ matrix.target-type }} platform=${{ matrix.target.platform }} arch=${{ matrix.target.arch }} precision=${{ matrix.float-precision }}
|
scons target=${{ matrix.target-type }} platform=${{ matrix.target.platform }} arch=${{ matrix.target.arch }} precision=${{ matrix.float-precision }}
|
||||||
|
|
||||||
|
- name: Save .scons_cache
|
||||||
|
uses: ./godot-cpp/.github/actions/godot-cache-save
|
||||||
|
with:
|
||||||
|
scons-cache: ${{ github.workspace }}/.scons-cache/
|
||||||
|
cache-name: ${{ matrix.target.platform }}_${{ matrix.target.arch }}_${{ matrix.float-precision }}_${{ matrix.target-type }}
|
||||||
|
|
||||||
# Sign the binary (macOS only)
|
# Sign the binary (macOS only)
|
||||||
- name: Mac Sign
|
- name: Mac Sign
|
||||||
# Disable sign if secrets are not set
|
# Disable sign if secrets are not set
|
||||||
|
|||||||
Reference in New Issue
Block a user