forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # doc/classes/BaseMaterial3D.xml # drivers/gles3/shaders/scene.glsl # drivers/gles3/storage/material_storage.cpp # main/main.cpp # platform/windows/display_server_windows.cpp # scene/3d/node_3d.cpp # scene/3d/physics_body_3d.cpp # scene/3d/skeleton_3d.cpp # scene/animation/animation_mixer.cpp # scene/animation/animation_player.cpp # scene/animation/animation_tree.cpp # scene/resources/animation.cpp # servers/rendering/renderer_rd/forward_clustered/scene_shader_forward_clustered.cpp # servers/rendering/renderer_rd/forward_mobile/scene_shader_forward_mobile.cpp # servers/rendering/renderer_rd/shaders/forward_clustered/scene_forward_clustered.glsl # servers/rendering/renderer_rd/shaders/forward_mobile/scene_forward_mobile.glsl # servers/rendering/renderer_scene_cull.cpp # servers/rendering/rendering_server_default.cpp # servers/rendering/shader_types.cpp
- Loading branch information
Showing
6,239 changed files
with
839,858 additions
and
345,741 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,22 @@ | ||
--- | ||
Checks: 'clang-diagnostic-*,clang-analyzer-*,-*,cppcoreguidelines-pro-type-member-init,modernize-redundant-void-arg,modernize-use-bool-literals,modernize-use-default-member-init,modernize-use-nullptr,readability-braces-around-statements,readability-redundant-member-init' | ||
Checks: >- | ||
-*, | ||
cppcoreguidelines-pro-type-member-init, | ||
modernize-redundant-void-arg, | ||
modernize-use-bool-literals, | ||
modernize-use-default-member-init, | ||
modernize-use-nullptr, | ||
readability-braces-around-statements, | ||
readability-redundant-member-init | ||
WarningsAsErrors: '' | ||
HeaderFilterRegex: '' | ||
AnalyzeTemporaryDtors: false | ||
FormatStyle: none | ||
HeaderFileExtensions: ['', h, hh, hpp, hxx, inc, glsl] | ||
ImplementationFileExtensions: [c, cc, cpp, cxx, m, mm, java] | ||
HeaderFilterRegex: (core|doc|drivers|editor|main|modules|platform|scene|servers|tests)/ | ||
FormatStyle: file | ||
CheckOptions: | ||
- key: cert-dcl16-c.NewSuffixes | ||
value: 'L;LL;LU;LLU' | ||
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField | ||
value: '0' | ||
- key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors | ||
value: '1' | ||
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic | ||
value: '1' | ||
- key: cppcoreguidelines-pro-type-member-init.IgnoreArrays | ||
value: '1' | ||
- key: cppcoreguidelines-pro-type-member-init.UseAssignment | ||
value: '1' | ||
- key: google-readability-function-size.StatementThreshold | ||
value: '800' | ||
- key: google-readability-namespace-comments.ShortNamespaceLines | ||
value: '10' | ||
- key: google-readability-namespace-comments.SpacesBeforeComments | ||
value: '2' | ||
- key: modernize-loop-convert.MaxCopySize | ||
value: '16' | ||
- key: modernize-loop-convert.MinConfidence | ||
value: reasonable | ||
- key: modernize-loop-convert.NamingStyle | ||
value: CamelCase | ||
- key: modernize-pass-by-value.IncludeStyle | ||
value: llvm | ||
- key: modernize-replace-auto-ptr.IncludeStyle | ||
value: llvm | ||
- key: modernize-use-bool-literals.IgnoreMacros | ||
value: '0' | ||
- key: modernize-use-default-member-init.IgnoreMacros | ||
value: '0' | ||
- key: modernize-use-default-member-init.UseAssignment | ||
value: '1' | ||
- key: modernize-use-nullptr.NullMacros | ||
value: 'NULL' | ||
- key: readability-braces-around-statements.ShortStatementLines | ||
value: '0' | ||
cppcoreguidelines-pro-type-member-init.IgnoreArrays: true | ||
cppcoreguidelines-pro-type-member-init.UseAssignment: true | ||
modernize-use-bool-literals.IgnoreMacros: false | ||
modernize-use-default-member-init.IgnoreMacros: false | ||
modernize-use-default-member-init.UseAssignment: true | ||
... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,6 @@ indent_size = 4 | |
[*.{yml,yaml}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.svg] | ||
insert_final_newline = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,3 @@ runs: | |
with: | ||
name: 'godot-api-dump' | ||
path: './godot-api/*' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Restore Godot build cache | ||
description: Restore Godot build cache. | ||
inputs: | ||
cache-name: | ||
description: The cache base name (job name by default). | ||
default: "${{github.job}}" | ||
scons-cache: | ||
description: The SCons cache path. | ||
default: "${{github.workspace}}/.scons-cache/" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Restore SCons cache directory | ||
uses: actions/cache/restore@v4 | ||
with: | ||
path: ${{inputs.scons-cache}} | ||
key: ${{inputs.cache-name}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}} | ||
|
||
# We try to match an existing cache to restore from it. Each potential key is checked against | ||
# all existing caches as a prefix. E.g. 'linux-template-minimal' would match any cache that | ||
# starts with "linux-template-minimal", such as "linux-template-minimal-master-refs/heads/master-6588a4a29af1621086feac0117d5d4d37af957fd". | ||
# | ||
# We check these prefixes in this order: | ||
# | ||
# 1. The exact match, including the base branch, the commit reference, and the SHA hash of the commit. | ||
# 2. A partial match for the same base branch and the same commit reference. | ||
# 3. A partial match for the same base branch and the base branch commit reference. | ||
# 4. A partial match for the same base branch only (not ideal, matches any PR with the same base branch). | ||
|
||
restore-keys: | | ||
${{inputs.cache-name}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}} | ||
${{inputs.cache-name}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}} | ||
${{inputs.cache-name}}-${{env.GODOT_BASE_BRANCH}}-refs/heads/${{env.GODOT_BASE_BRANCH}} | ||
${{inputs.cache-name}}-${{env.GODOT_BASE_BRANCH}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Save Godot build cache | ||
description: Save Godot build cache. | ||
inputs: | ||
cache-name: | ||
description: The cache base name (job name by default). | ||
default: "${{github.job}}" | ||
scons-cache: | ||
description: The SCons cache path. | ||
default: "${{github.workspace}}/.scons-cache/" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Save SCons cache directory | ||
uses: actions/cache/save@v4 | ||
with: | ||
path: ${{inputs.scons-cache}} | ||
key: ${{inputs.cache-name}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,30 @@ | ||
name: Setup python and scons | ||
description: Setup python, install the pip version of scons. | ||
name: Setup Python and SCons | ||
description: Setup Python, install the pip version of SCons. | ||
inputs: | ||
python-version: | ||
description: The python version to use. | ||
description: The Python version to use. | ||
default: "3.x" | ||
python-arch: | ||
description: The python architecture. | ||
description: The Python architecture. | ||
default: "x64" | ||
scons-version: | ||
description: The SCons version to use. | ||
default: "4.8.0" | ||
runs: | ||
using: "composite" | ||
steps: | ||
# Use python 3.x release (works cross platform) | ||
- name: Set up Python 3.x | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
# Semantic version range syntax or exact version of a Python version | ||
# Semantic version range syntax or exact version of a Python version. | ||
python-version: ${{ inputs.python-version }} | ||
# Optional - x64 or x86 architecture, defaults to x64 | ||
# Optional - x64 or x86 architecture, defaults to x64. | ||
architecture: ${{ inputs.python-arch }} | ||
|
||
- name: Setup scons | ||
- name: Setup SCons | ||
shell: bash | ||
run: | | ||
python -c "import sys; print(sys.version)" | ||
python -m pip install scons==4.4.0 | ||
python -m pip install wheel | ||
python -m pip install scons==${{ inputs.scons-version }} | ||
scons --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.