Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change compiled executable names to match the new project name #30

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/actions/download-artifact/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Download Godot artifact
description: Download the Godot artifact.
name: Download Redot artifact
description: Download the Redot artifact.

inputs:
name:
Expand All @@ -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 }}
Expand Down
25 changes: 0 additions & 25 deletions .github/actions/godot-api-dump/action.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/actions/redot-api-dump/action.yml
Original file line number Diff line number Diff line change
@@ -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/*
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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).
Expand Down
Original file line number Diff line number Diff line change
@@ -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).
Expand All @@ -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 }}
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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"

Expand Down
6 changes: 3 additions & 3 deletions .github/actions/upload-artifact/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Upload Godot artifact
description: Upload the Godot artifact.
name: Upload Redot artifact
description: Upload the Redot artifact.

inputs:
name:
Expand All @@ -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 }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/windows_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,22 @@ 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)
cache-name: windows-editor-clang
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:
Expand All @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion platform/linuxbsd/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -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))
10 changes: 5 additions & 5 deletions platform/macos/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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))
Expand Down
4 changes: 2 additions & 2 deletions platform/windows/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down