CI: Update to actions/cache@v3, increase cache limit to 10 GiB
And force rebuild of Linux cache which got corrupted...
This commit is contained in:
parent
3586f559d1
commit
cd2e7fbc57
3
.github/actions/godot-build/action.yml
vendored
3
.github/actions/godot-build/action.yml
vendored
@ -20,7 +20,8 @@ inputs:
|
|||||||
default: "${{ github.workspace }}/.scons-cache/"
|
default: "${{ github.workspace }}/.scons-cache/"
|
||||||
scons-cache-limit:
|
scons-cache-limit:
|
||||||
description: The scons cache size limit.
|
description: The scons cache size limit.
|
||||||
default: 4096
|
# actions/cache has 10 GiB limit. Allow 10 GiB minus 256 MiB.
|
||||||
|
default: 9984
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
|
2
.github/actions/godot-cache/action.yml
vendored
2
.github/actions/godot-cache/action.yml
vendored
@ -12,7 +12,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
# Upload cache on completion and check it out now
|
# Upload cache on completion and check it out now
|
||||||
- name: Load .scons_cache directory
|
- name: Load .scons_cache directory
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{inputs.scons-cache}}
|
path: ${{inputs.scons-cache}}
|
||||||
key: ${{inputs.cache-name}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}}
|
key: ${{inputs.cache-name}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}}
|
||||||
|
1
.github/workflows/android_builds.yml
vendored
1
.github/workflows/android_builds.yml
vendored
@ -3,6 +3,7 @@ on: [push, pull_request]
|
|||||||
|
|
||||||
# Global Settings
|
# Global Settings
|
||||||
env:
|
env:
|
||||||
|
# Only used for the cache key. Increment version to force clean build.
|
||||||
GODOT_BASE_BRANCH: master
|
GODOT_BASE_BRANCH: master
|
||||||
SCONSFLAGS: verbose=yes warnings=extra werror=yes debug_symbols=no module_text_server_fb_enabled=yes
|
SCONSFLAGS: verbose=yes warnings=extra werror=yes debug_symbols=no module_text_server_fb_enabled=yes
|
||||||
|
|
||||||
|
1
.github/workflows/ios_builds.yml
vendored
1
.github/workflows/ios_builds.yml
vendored
@ -3,6 +3,7 @@ on: [push, pull_request]
|
|||||||
|
|
||||||
# Global Settings
|
# Global Settings
|
||||||
env:
|
env:
|
||||||
|
# Only used for the cache key. Increment version to force clean build.
|
||||||
GODOT_BASE_BRANCH: master
|
GODOT_BASE_BRANCH: master
|
||||||
SCONSFLAGS: verbose=yes warnings=extra werror=yes debug_symbols=no module_text_server_fb_enabled=yes
|
SCONSFLAGS: verbose=yes warnings=extra werror=yes debug_symbols=no module_text_server_fb_enabled=yes
|
||||||
|
|
||||||
|
1
.github/workflows/javascript_builds.yml
vendored
1
.github/workflows/javascript_builds.yml
vendored
@ -3,6 +3,7 @@ on: [push, pull_request]
|
|||||||
|
|
||||||
# Global Settings
|
# Global Settings
|
||||||
env:
|
env:
|
||||||
|
# Only used for the cache key. Increment version to force clean build.
|
||||||
GODOT_BASE_BRANCH: master
|
GODOT_BASE_BRANCH: master
|
||||||
SCONSFLAGS: verbose=yes warnings=extra werror=yes debug_symbols=no
|
SCONSFLAGS: verbose=yes warnings=extra werror=yes debug_symbols=no
|
||||||
EM_VERSION: 2.0.27
|
EM_VERSION: 2.0.27
|
||||||
|
5
.github/workflows/linux_builds.yml
vendored
5
.github/workflows/linux_builds.yml
vendored
@ -3,7 +3,8 @@ on: [push, pull_request]
|
|||||||
|
|
||||||
# Global Settings
|
# Global Settings
|
||||||
env:
|
env:
|
||||||
GODOT_BASE_BRANCH: master
|
# Only used for the cache key. Increment version to force clean build.
|
||||||
|
GODOT_BASE_BRANCH: master-v2
|
||||||
SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes
|
SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@ -36,6 +37,8 @@ jobs:
|
|||||||
tests: true
|
tests: true
|
||||||
sconsflags: float=64 use_asan=yes use_ubsan=yes
|
sconsflags: float=64 use_asan=yes use_ubsan=yes
|
||||||
proj-test: true
|
proj-test: true
|
||||||
|
# Can be turned off for PRs that intentionally break compat with godot-cpp,
|
||||||
|
# until both the upstream PR and the matching godot-cpp changes are merged.
|
||||||
godot-cpp-test: true
|
godot-cpp-test: true
|
||||||
bin: "./bin/godot.linuxbsd.double.tools.64.san"
|
bin: "./bin/godot.linuxbsd.double.tools.64.san"
|
||||||
build-mono: false
|
build-mono: false
|
||||||
|
2
.github/workflows/windows_builds.yml
vendored
2
.github/workflows/windows_builds.yml
vendored
@ -4,6 +4,7 @@ on: [push, pull_request]
|
|||||||
# Global Settings
|
# Global Settings
|
||||||
# SCONS_CACHE for windows must be set in the build environment
|
# SCONS_CACHE for windows must be set in the build environment
|
||||||
env:
|
env:
|
||||||
|
# Only used for the cache key. Increment version to force clean build.
|
||||||
GODOT_BASE_BRANCH: master
|
GODOT_BASE_BRANCH: master
|
||||||
SCONSFLAGS: verbose=yes warnings=all werror=yes module_text_server_fb_enabled=yes
|
SCONSFLAGS: verbose=yes warnings=all werror=yes module_text_server_fb_enabled=yes
|
||||||
SCONS_CACHE_MSVC_CONFIG: true
|
SCONS_CACHE_MSVC_CONFIG: true
|
||||||
@ -56,7 +57,6 @@ jobs:
|
|||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
tools: ${{ matrix.tools }}
|
tools: ${{ matrix.tools }}
|
||||||
tests: ${{ matrix.tests }}
|
tests: ${{ matrix.tests }}
|
||||||
scons-cache-limit: 3072
|
|
||||||
|
|
||||||
# Execute unit tests for the editor
|
# Execute unit tests for the editor
|
||||||
- name: Unit tests
|
- name: Unit tests
|
||||||
|
Loading…
Reference in New Issue
Block a user