GHA: Don't use SCons cache in release builds
This commit is contained in:
parent
44040dda06
commit
6d79b7474e
|
@ -165,15 +165,16 @@ jobs:
|
|||
python --version
|
||||
scons --version
|
||||
|
||||
- name: Set up scons cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{github.workspace}}/.scons_cache/
|
||||
key: ${{env.BIN}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}-${{env.LIMBOAI_VERSION}}
|
||||
restore-keys: |
|
||||
${{env.BIN}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}-${{env.LIMBOAI_VERSION}}
|
||||
${{env.BIN}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}
|
||||
${{env.BIN}}-${{inputs.godot-ref}}
|
||||
# ! Note: we stopped using the scons cache in release builds.
|
||||
# - name: Set up scons cache
|
||||
# uses: actions/cache@v4
|
||||
# with:
|
||||
# path: ${{github.workspace}}/.scons_cache/
|
||||
# key: ${{env.BIN}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}-${{env.LIMBOAI_VERSION}}
|
||||
# restore-keys: |
|
||||
# ${{env.BIN}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}-${{env.LIMBOAI_VERSION}}
|
||||
# ${{env.BIN}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}
|
||||
# ${{env.BIN}}-${{inputs.godot-ref}}
|
||||
|
||||
- name: Compilation
|
||||
env:
|
||||
|
|
|
@ -11,7 +11,7 @@ on:
|
|||
type: string
|
||||
default: master
|
||||
test-build:
|
||||
description: Limit the number of test builds
|
||||
description: Limit to pre-defined test builds
|
||||
type: boolean
|
||||
default: false
|
||||
debug-symbols:
|
||||
|
@ -30,7 +30,7 @@ on:
|
|||
type: string
|
||||
default: master
|
||||
test-build:
|
||||
description: Limit the number of test builds
|
||||
description: Limit to pre-defined test builds
|
||||
type: boolean
|
||||
default: false
|
||||
debug-symbols:
|
||||
|
@ -285,6 +285,7 @@ jobs:
|
|||
uses: ammaraskar/msvc-problem-matcher@master
|
||||
|
||||
- name: Set up scons cache
|
||||
if: inputs.test-build # ! Only cache test/PR builds
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{github.workspace}}/.scons_cache/
|
||||
|
|
|
@ -145,15 +145,16 @@ jobs:
|
|||
rm -Rf /tmp/InstallVulkan.app
|
||||
rm -f /tmp/vulkan-sdk.zip
|
||||
|
||||
- name: Set up scons cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{github.workspace}}/.scons_cache/
|
||||
key: ${{env.BIN}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}-${{env.LIMBOAI_VERSION}}
|
||||
restore-keys: |
|
||||
${{env.BIN}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}-${{env.LIMBOAI_VERSION}}
|
||||
${{env.BIN}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}
|
||||
${{env.BIN}}-${{inputs.godot-ref}}
|
||||
# ! Note: we stopped using the scons cache in release builds.
|
||||
# - name: Set up scons cache
|
||||
# uses: actions/cache@v4
|
||||
# with:
|
||||
# path: ${{github.workspace}}/.scons_cache/
|
||||
# key: ${{env.BIN}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}-${{env.LIMBOAI_VERSION}}
|
||||
# restore-keys: |
|
||||
# ${{env.BIN}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}-${{env.LIMBOAI_VERSION}}
|
||||
# ${{env.BIN}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}
|
||||
# ${{env.BIN}}-${{inputs.godot-ref}}
|
||||
|
||||
- name: Compilation
|
||||
env:
|
||||
|
|
|
@ -227,6 +227,7 @@ jobs:
|
|||
sudo apt-get install libwayland-dev
|
||||
|
||||
- name: Set up scons cache
|
||||
if: inputs.test-build # ! Only cache test/PR builds
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{github.workspace}}/.scons_cache/
|
||||
|
|
|
@ -175,6 +175,7 @@ jobs:
|
|||
rm -f /tmp/vulkan-sdk.zip
|
||||
|
||||
- name: Set up scons cache
|
||||
if: inputs.test-build # ! Only cache test/PR builds
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{github.workspace}}/.scons_cache/
|
||||
|
|
|
@ -120,15 +120,16 @@ jobs:
|
|||
python --version
|
||||
scons --version
|
||||
|
||||
- name: Set up scons cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{github.workspace}}/.scons_cache/
|
||||
key: ${{env.CACHE_NAME}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}-${{env.LIMBOAI_VERSION}}
|
||||
restore-keys: |
|
||||
${{env.CACHE_NAME}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}-${{env.LIMBOAI_VERSION}}
|
||||
${{env.CACHE_NAME}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}
|
||||
${{env.CACHE_NAME}}-${{inputs.godot-ref}}
|
||||
# ! Note: we stopped using the scons cache in release builds.
|
||||
# - name: Set up scons cache
|
||||
# uses: actions/cache@v4
|
||||
# with:
|
||||
# path: ${{github.workspace}}/.scons_cache/
|
||||
# key: ${{env.CACHE_NAME}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}-${{env.LIMBOAI_VERSION}}
|
||||
# restore-keys: |
|
||||
# ${{env.CACHE_NAME}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}-${{env.LIMBOAI_VERSION}}
|
||||
# ${{env.CACHE_NAME}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}
|
||||
# ${{env.CACHE_NAME}}-${{inputs.godot-ref}}
|
||||
|
||||
- name: Compilation
|
||||
env:
|
||||
|
|
Loading…
Reference in New Issue