[CI] Run unit tests on desktop release templates
This commit is contained in:
parent
832695eb2c
commit
a2d16c0313
3 changed files with 12 additions and 11 deletions
11
.github/workflows/linux_builds.yml
vendored
11
.github/workflows/linux_builds.yml
vendored
|
@ -74,16 +74,18 @@ jobs:
|
|||
- name: Template w/ Mono (target=template_release)
|
||||
cache-name: linux-template-mono
|
||||
target: template_release
|
||||
sconsflags: module_mono_enabled=yes
|
||||
sconsflags: module_mono_enabled=yes tests=yes
|
||||
bin: "./bin/godot.linuxbsd.template_release.x86_64.mono"
|
||||
build-mono: false
|
||||
tests: false
|
||||
tests: true
|
||||
artifact: true
|
||||
|
||||
- name: Minimal template (target=template_release, everything disabled)
|
||||
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
|
||||
tests: false
|
||||
sconsflags: modules_enabled_by_default=no disable_3d=yes disable_advanced_gui=yes deprecated=no minizip=no tests=yes
|
||||
bin: "./bin/godot.linuxbsd.template_release.x86_64"
|
||||
tests: true
|
||||
artifact: true
|
||||
|
||||
steps:
|
||||
|
@ -174,7 +176,6 @@ jobs:
|
|||
with:
|
||||
bin: ${{ matrix.bin }}
|
||||
|
||||
# Execute unit tests for the editor
|
||||
- name: Unit tests
|
||||
if: ${{ matrix.tests }}
|
||||
run: |
|
||||
|
|
6
.github/workflows/macos_builds.yml
vendored
6
.github/workflows/macos_builds.yml
vendored
|
@ -29,8 +29,9 @@ jobs:
|
|||
- name: Template (target=template_release)
|
||||
cache-name: macos-template
|
||||
target: template_release
|
||||
tests: false
|
||||
sconsflags: debug_symbols=no
|
||||
tests: true
|
||||
sconsflags: debug_symbols=no tests=yes
|
||||
bin: "./bin/godot.macos.template_release.universal"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -84,7 +85,6 @@ jobs:
|
|||
with:
|
||||
name: ${{ matrix.cache-name }}
|
||||
|
||||
# Execute unit tests for the editor
|
||||
- name: Unit tests
|
||||
if: ${{ matrix.tests }}
|
||||
run: |
|
||||
|
|
6
.github/workflows/windows_builds.yml
vendored
6
.github/workflows/windows_builds.yml
vendored
|
@ -34,8 +34,9 @@ jobs:
|
|||
- name: Template (target=template_release)
|
||||
cache-name: windows-template
|
||||
target: template_release
|
||||
tests: false
|
||||
sconsflags: debug_symbols=no
|
||||
tests: true
|
||||
sconsflags: debug_symbols=no tests=yes
|
||||
bin: "./bin/godot.windows.template_release.x86_64.console.exe"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -91,7 +92,6 @@ jobs:
|
|||
with:
|
||||
name: ${{ matrix.cache-name }}
|
||||
|
||||
# Execute unit tests for the editor
|
||||
- name: Unit tests
|
||||
if: ${{ matrix.tests }}
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue