summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/linux_builds.yml27
-rw-r--r--.github/workflows/macos_builds.yml12
-rw-r--r--.github/workflows/windows_builds.yml26
3 files changed, 48 insertions, 17 deletions
diff --git a/.github/workflows/linux_builds.yml b/.github/workflows/linux_builds.yml
index dc3d9f3786..96524926c4 100644
--- a/.github/workflows/linux_builds.yml
+++ b/.github/workflows/linux_builds.yml
@@ -23,11 +23,22 @@ jobs:
fail-fast: false
matrix:
include:
+ - name: Editor (target=editor tests=yes)
+ cache-name: linux-editor
+ target: editor
+ bin: ./bin/redot.linuxbsd.editor.x86_64
+ build-mono: false
+ tests: true
+ doc-test: true
+ proj-conv: true
+ api-compat: true
+ artifact: true
+
- name: Editor w/ Mono (target=editor)
cache-name: linux-editor-mono
target: editor
sconsflags: module_mono_enabled=yes
- bin: ./bin/godot.linuxbsd.editor.x86_64.mono
+ bin: ./bin/redot.linuxbsd.editor.x86_64.mono
build-mono: true
tests: false # Disabled due freeze caused by mix Mono build and CI
doc-test: true
@@ -40,7 +51,7 @@ jobs:
target: editor
# Debug symbols disabled as they're huge on this build and we hit the 14 GB limit for runners.
sconsflags: dev_build=yes scu_build=yes debug_symbols=no precision=double use_asan=yes use_ubsan=yes linker=gold
- bin: ./bin/godot.linuxbsd.editor.dev.double.x86_64.san
+ bin: ./bin/redot.linuxbsd.editor.dev.double.x86_64.san
build-mono: false
tests: true
proj-test: true
@@ -53,7 +64,7 @@ jobs:
cache-name: linux-editor-llvm-sanitizers
target: editor
sconsflags: dev_build=yes use_asan=yes use_ubsan=yes use_llvm=yes linker=lld
- bin: ./bin/godot.linuxbsd.editor.dev.x86_64.llvm.san
+ bin: ./bin/redot.linuxbsd.editor.dev.x86_64.llvm.san
build-mono: false
tests: true
# Skip 2GiB artifact speeding up action.
@@ -66,7 +77,7 @@ jobs:
target: editor
tests: true
sconsflags: dev_build=yes use_tsan=yes use_llvm=yes linker=lld
- bin: ./bin/godot.linuxbsd.editor.dev.x86_64.llvm.san
+ bin: ./bin/redot.linuxbsd.editor.dev.x86_64.llvm.san
build-mono: false
# Skip 2GiB artifact speeding up action.
artifact: false
@@ -75,7 +86,7 @@ jobs:
cache-name: linux-template-mono
target: template_release
sconsflags: module_mono_enabled=yes
- bin: ./bin/godot.linuxbsd.template_release.x86_64.mono
+ bin: ./bin/redot.linuxbsd.template_release.x86_64.mono
build-mono: false
tests: true
artifact: true
@@ -84,7 +95,7 @@ jobs:
cache-name: linux-template-minimal
target: template_release
sconsflags: modules_enabled_by_default=no disable_3d=yes disable_advanced_gui=yes deprecated=no minizip=no
- bin: ./bin/godot.linuxbsd.template_release.x86_64
+ bin: ./bin/redot.linuxbsd.template_release.x86_64
tests: true
artifact: true
@@ -162,8 +173,8 @@ jobs:
- name: Prepare artifact
if: matrix.artifact
run: |
- strip bin/godot.*
- chmod +x bin/godot.*
+ strip bin/redot.*
+ chmod +x bin/redot.*
- name: Upload artifact
uses: ./.github/actions/upload-artifact
diff --git a/.github/workflows/macos_builds.yml b/.github/workflows/macos_builds.yml
index fcf4b00afb..cc789d4c4a 100644
--- a/.github/workflows/macos_builds.yml
+++ b/.github/workflows/macos_builds.yml
@@ -24,14 +24,14 @@ jobs:
cache-name: macos-editor
target: editor
tests: true
- bin: ./bin/godot.macos.editor.universal
+ bin: ./bin/redot.macos.editor.universal
- name: Template (target=template_release, tests=yes)
cache-name: macos-template
target: template_release
tests: true
sconsflags: debug_symbols=no
- bin: ./bin/godot.macos.template_release.universal
+ bin: ./bin/redot.macos.template_release.universal
steps:
- name: Checkout
@@ -76,10 +76,10 @@ jobs:
- name: Prepare artifact
run: |
- lipo -create ./bin/godot.macos.${{ matrix.target }}.x86_64 ./bin/godot.macos.${{ matrix.target }}.arm64 -output ./bin/godot.macos.${{ matrix.target }}.universal
- rm ./bin/godot.macos.${{ matrix.target }}.x86_64 ./bin/godot.macos.${{ matrix.target }}.arm64
- strip bin/godot.*
- chmod +x bin/godot.*
+ lipo -create ./bin/redot.macos.${{ matrix.target }}.x86_64 ./bin/redot.macos.${{ matrix.target }}.arm64 -output ./bin/redot.macos.${{ matrix.target }}.universal
+ rm ./bin/redot.macos.${{ matrix.target }}.x86_64 ./bin/redot.macos.${{ matrix.target }}.arm64
+ strip bin/redot.*
+ chmod +x bin/redot.*
- name: Upload artifact
uses: ./.github/actions/upload-artifact
diff --git a/.github/workflows/windows_builds.yml b/.github/workflows/windows_builds.yml
index 95e3d4a553..697b37f36f 100644
--- a/.github/workflows/windows_builds.yml
+++ b/.github/workflows/windows_builds.yml
@@ -29,7 +29,19 @@ 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/ Mono (target=editor)
+ cache-name: windows-editor-mono
+ target: editor
+ sconsflags: module_mono_enabled=yes
+ bin: ./bin/redot.windows.editor.x86_64.mono.exe
+ build-mono: true
+ tests: false # Disabled due freeze caused by mix Mono build and CI
+ doc-test: true
+ proj-conv: true
+ api-compat: true
artifact: true
- name: Editor w/ clang-cl (target=editor, tests=yes, use_llvm=yes)
@@ -37,14 +49,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:
@@ -87,6 +99,14 @@ jobs:
target: ${{ matrix.target }}
tests: ${{ matrix.tests }}
+ - name: Generate Glue Code
+ if: ${{ matrix.cache-name == 'windows-editor-mono' }}
+ run: ./bin/redot.windows.editor.x86_64.mono.exe --headless --generate-mono-glue modules/mono/glue
+
+ - name: Build GodotSharp
+ if: ${{ matrix.cache-name == 'windows-editor-mono' }}
+ run: python modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin
+
- name: Save Godot build cache
uses: ./.github/actions/godot-cache-save
with: