diff --git a/.github/actions/download-artifact/action.yml b/.github/actions/download-artifact/action.yml index c2a3d777c41..0ccba7890b4 100644 --- a/.github/actions/download-artifact/action.yml +++ b/.github/actions/download-artifact/action.yml @@ -1,5 +1,5 @@ -name: Download Godot artifact -description: Download the Godot artifact. +name: Download Redot artifact +description: Download the Redot artifact. inputs: name: @@ -13,7 +13,7 @@ inputs: runs: using: composite steps: - - name: Download Godot Artifact + - name: Download Redot Artifact uses: actions/download-artifact@v4 with: name: ${{ inputs.name }} diff --git a/.github/actions/godot-api-dump/action.yml b/.github/actions/godot-api-dump/action.yml deleted file mode 100644 index dee70298c4b..00000000000 --- a/.github/actions/godot-api-dump/action.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Dump Godot API -description: Dump Godot API for GDExtension - -inputs: - bin: - description: The path to the Godot executable - required: true - -runs: - using: composite - steps: - # Dump GDExtension interface and API - - name: Dump GDExtension interface and API for godot-cpp build - shell: sh - run: | - ${{ inputs.bin }} --headless --dump-gdextension-interface --dump-extension-api - mkdir godot-api - cp -f gdextension_interface.h godot-api/ - cp -f extension_api.json godot-api/ - - - name: Upload API dump - uses: ./.github/actions/upload-artifact - with: - name: godot-api-dump - path: ./godot-api/* diff --git a/.github/actions/redot-api-dump/action.yml b/.github/actions/redot-api-dump/action.yml new file mode 100644 index 00000000000..e4e176d93ab --- /dev/null +++ b/.github/actions/redot-api-dump/action.yml @@ -0,0 +1,25 @@ +name: Dump Redot API +description: Dump Redot API for GDExtension + +inputs: + bin: + description: The path to the Redot executable + required: true + +runs: + using: composite + steps: + # Dump GDExtension interface and API + - name: Dump GDExtension interface and API for redot-cpp build + shell: sh + run: | + ${{ inputs.bin }} --headless --dump-gdextension-interface --dump-extension-api + mkdir redot-api + cp -f gdextension_interface.h redot-api/ + cp -f extension_api.json redot-api/ + + - name: Upload API dump + uses: ./.github/actions/upload-artifact + with: + name: redot-api-dump + path: ./redot-api/* diff --git a/.github/actions/godot-build/action.yml b/.github/actions/redot-build/action.yml similarity index 95% rename from .github/actions/godot-build/action.yml rename to .github/actions/redot-build/action.yml index 93d6f076b72..9149f20bede 100644 --- a/.github/actions/godot-build/action.yml +++ b/.github/actions/redot-build/action.yml @@ -1,5 +1,5 @@ -name: Build Godot -description: Build Godot with the provided options. +name: Build Redot +description: Build Redot with the provided options. inputs: target: diff --git a/.github/actions/godot-cache-restore/action.yml b/.github/actions/redot-cache-restore/action.yml similarity index 95% rename from .github/actions/godot-cache-restore/action.yml rename to .github/actions/redot-cache-restore/action.yml index 7abec20a282..8782cf60ad0 100644 --- a/.github/actions/godot-cache-restore/action.yml +++ b/.github/actions/redot-cache-restore/action.yml @@ -1,5 +1,5 @@ -name: Restore Godot build cache -description: Restore Godot build cache. +name: Restore Redot build cache +description: Restore Redot build cache. inputs: cache-name: description: The cache base name (job name by default). diff --git a/.github/actions/godot-cache-save/action.yml b/.github/actions/redot-cache-save/action.yml similarity index 76% rename from .github/actions/godot-cache-save/action.yml rename to .github/actions/redot-cache-save/action.yml index df877cec67b..fe232624a71 100644 --- a/.github/actions/godot-cache-save/action.yml +++ b/.github/actions/redot-cache-save/action.yml @@ -1,5 +1,5 @@ -name: Save Godot build cache -description: Save Godot build cache. +name: Save Redot build cache +description: Save Redot build cache. inputs: cache-name: description: The cache base name (job name by default). @@ -15,4 +15,4 @@ runs: uses: actions/cache/save@v4 with: path: ${{ inputs.scons-cache }} - key: ${{ inputs.cache-name }}-${{ env.GODOT_BASE_BRANCH }}-${{ github.ref }}-${{ github.sha }} + key: ${{ inputs.cache-name }}-${{ env.REDOT_BASE_BRANCH }}-${{ github.ref }}-${{ github.sha }} diff --git a/.github/actions/godot-converter-test/action.yml b/.github/actions/redot-converter-test/action.yml similarity index 82% rename from .github/actions/godot-converter-test/action.yml rename to .github/actions/redot-converter-test/action.yml index ffd558d98b1..ab444bd20ef 100644 --- a/.github/actions/godot-converter-test/action.yml +++ b/.github/actions/redot-converter-test/action.yml @@ -1,5 +1,5 @@ -name: Test Godot project converter -description: Test the Godot project converter. +name: Test Redot project converter +description: Test the Redot project converter. inputs: bin: diff --git a/.github/actions/godot-deps/action.yml b/.github/actions/redot-deps/action.yml similarity index 100% rename from .github/actions/godot-deps/action.yml rename to .github/actions/redot-deps/action.yml diff --git a/.github/actions/godot-project-test/action.yml b/.github/actions/redot-project-test/action.yml similarity index 89% rename from .github/actions/godot-project-test/action.yml rename to .github/actions/redot-project-test/action.yml index 36448cd50ae..b2373dbaa59 100644 --- a/.github/actions/godot-project-test/action.yml +++ b/.github/actions/redot-project-test/action.yml @@ -1,5 +1,5 @@ -name: Test Godot project -description: Run the test Godot project. +name: Test Redot project +description: Run the test Redot project. inputs: bin: @@ -13,7 +13,7 @@ runs: - name: Download test project shell: sh run: | - wget https://github.com/godotengine/regression-test-project/archive/4.0.zip + wget https://github.com/Redot-Engine/regression-test-project/archive/4.0.zip unzip 4.0.zip mv "regression-test-project-4.0" "test_project" diff --git a/.github/actions/upload-artifact/action.yml b/.github/actions/upload-artifact/action.yml index 8524afdf593..5c1ae5aa7a6 100644 --- a/.github/actions/upload-artifact/action.yml +++ b/.github/actions/upload-artifact/action.yml @@ -1,5 +1,5 @@ -name: Upload Godot artifact -description: Upload the Godot artifact. +name: Upload Redot artifact +description: Upload the Redot artifact. inputs: name: @@ -13,7 +13,7 @@ inputs: runs: using: composite steps: - - name: Upload Godot Artifact + - name: Upload Redot Artifact uses: actions/upload-artifact@v4 with: name: ${{ inputs.name }} diff --git a/.github/workflows/windows_builds.yml b/.github/workflows/windows_builds.yml index 95e3d4a553d..ec239520b90 100644 --- a/.github/workflows/windows_builds.yml +++ b/.github/workflows/windows_builds.yml @@ -29,7 +29,7 @@ jobs: tests: true # Skip debug symbols, they're way too big with MSVC. sconsflags: debug_symbols=no vsproj=yes vsproj_gen_only=no windows_subsystem=console - bin: ./bin/godot.windows.editor.x86_64.exe + bin: ./bin/redot.windows.editor.x86_64.exe artifact: true - name: Editor w/ clang-cl (target=editor, tests=yes, use_llvm=yes) @@ -37,14 +37,14 @@ jobs: target: editor tests: true sconsflags: debug_symbols=no windows_subsystem=console use_llvm=yes - bin: ./bin/godot.windows.editor.x86_64.llvm.exe + bin: ./bin/redot.windows.editor.x86_64.llvm.exe - name: Template (target=template_release, tests=yes) cache-name: windows-template target: template_release tests: true sconsflags: debug_symbols=no - bin: ./bin/godot.windows.template_release.x86_64.console.exe + bin: ./bin/redot.windows.template_release.x86_64.console.exe artifact: true steps: @@ -53,7 +53,7 @@ jobs: with: submodules: recursive - - name: Restore Godot build cache + - name: Restore Redot build cache uses: ./.github/actions/godot-cache-restore with: cache-name: ${{ matrix.cache-name }} @@ -87,7 +87,7 @@ jobs: target: ${{ matrix.target }} tests: ${{ matrix.tests }} - - name: Save Godot build cache + - name: Save Redot build cache uses: ./.github/actions/godot-cache-save with: cache-name: ${{ matrix.cache-name }} diff --git a/platform/linuxbsd/SCsub b/platform/linuxbsd/SCsub index 4def765e9c5..e2509ec2443 100644 --- a/platform/linuxbsd/SCsub +++ b/platform/linuxbsd/SCsub @@ -39,7 +39,7 @@ if env["dbus"]: if env["use_sowrap"]: common_linuxbsd.append("dbus-so_wrap.c") -prog = env.add_program("#bin/godot", ["godot_linuxbsd.cpp"] + common_linuxbsd) +prog = env.add_program("#bin/redot", ["godot_linuxbsd.cpp"] + common_linuxbsd) if env["debug_symbols"] and env["separate_debug_symbols"]: env.AddPostAction(prog, env.Run(platform_linuxbsd_builders.make_debug_linuxbsd)) diff --git a/platform/macos/SCsub b/platform/macos/SCsub index 3924e79fb69..e0f30f1bb6b 100644 --- a/platform/macos/SCsub +++ b/platform/macos/SCsub @@ -35,9 +35,9 @@ def generate_bundle(target, source, env): if not os.path.isdir(app_dir + "/Contents/MacOS"): os.mkdir(app_dir + "/Contents/MacOS") if target_bin != "": - shutil.copy(target_bin, app_dir + "/Contents/MacOS/Godot") + shutil.copy(target_bin, app_dir + "/Contents/MacOS/Redot") if "mono" in env.module_version_string: - shutil.copytree(Dir("#bin/GodotSharp").abspath, app_dir + "/Contents/Resources/GodotSharp") + shutil.copytree(Dir("#bin/RedotSharp").abspath, app_dir + "/Contents/Resources/RedotSharp") version = get_build_version(False) short_version = get_build_version(True) with open(Dir("#misc/dist/macos").abspath + "/editor_info_plist.template", "rt", encoding="utf-8") as fin: @@ -91,9 +91,9 @@ def generate_bundle(target, source, env): if not os.path.isdir(app_dir + "/Contents/MacOS"): os.mkdir(app_dir + "/Contents/MacOS") if rel_target_bin != "": - shutil.copy(rel_target_bin, app_dir + "/Contents/MacOS/godot_macos_release.universal") + shutil.copy(rel_target_bin, app_dir + "/Contents/MacOS/redot_macos_release.universal") if dbg_target_bin != "": - shutil.copy(dbg_target_bin, app_dir + "/Contents/MacOS/godot_macos_debug.universal") + shutil.copy(dbg_target_bin, app_dir + "/Contents/MacOS/redot_macos_debug.universal") # ZIP .app bundle. zip_dir = Dir("#bin/" + (app_prefix + env.extra_suffix + env.module_version_string).replace(".", "_")).abspath @@ -127,7 +127,7 @@ files = [ "gl_manager_macos_legacy.mm", ] -prog = env.add_program("#bin/godot", files) +prog = env.add_program("#bin/redot", files) if env["debug_symbols"] and env["separate_debug_symbols"]: env.AddPostAction(prog, env.Run(platform_macos_builders.make_debug_macos)) diff --git a/platform/windows/SCsub b/platform/windows/SCsub index 1d17e7b3251..e17e10e6f16 100644 --- a/platform/windows/SCsub +++ b/platform/windows/SCsub @@ -56,7 +56,7 @@ env.Depends(res_obj, "#core/version_generated.gen.h") env.add_source_files(sources, common_win) sources += res_obj -prog = env.add_program("#bin/godot", sources, PROGSUFFIX=env["PROGSUFFIX"]) +prog = env.add_program("#bin/redot", sources, PROGSUFFIX=env["PROGSUFFIX"]) arrange_program_clean(prog) # Build console wrapper app. @@ -74,7 +74,7 @@ if env["windows_subsystem"] == "gui": env_wrap.Append(LINKFLAGS=["-Wl,--subsystem,console"]) env_wrap.Append(LIBS=["version"]) - prog_wrap = env_wrap.add_program("#bin/godot", common_win_wrap + res_wrap_obj, PROGSUFFIX=env["PROGSUFFIX_WRAP"]) + prog_wrap = env_wrap.add_program("#bin/redot", common_win_wrap + res_wrap_obj, PROGSUFFIX=env["PROGSUFFIX_WRAP"]) arrange_program_clean(prog_wrap) env_wrap.Depends(prog_wrap, prog) sources += common_win_wrap + res_wrap_obj