[CI] Run unit tests on desktop release templates

This commit is contained in:
A Thousand Ships 2024-07-17 12:15:13 +02:00
parent 832695eb2c
commit a2d16c0313
No known key found for this signature in database
GPG Key ID: 2033189A662F8BD7
3 changed files with 12 additions and 11 deletions

View File

@ -74,16 +74,18 @@ jobs:
- name: Template w/ Mono (target=template_release) - name: Template w/ Mono (target=template_release)
cache-name: linux-template-mono cache-name: linux-template-mono
target: template_release 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 build-mono: false
tests: false tests: true
artifact: true artifact: true
- name: Minimal template (target=template_release, everything disabled) - name: Minimal template (target=template_release, everything disabled)
cache-name: linux-template-minimal cache-name: linux-template-minimal
target: template_release target: template_release
sconsflags: modules_enabled_by_default=no disable_3d=yes disable_advanced_gui=yes deprecated=no minizip=no sconsflags: modules_enabled_by_default=no disable_3d=yes disable_advanced_gui=yes deprecated=no minizip=no tests=yes
tests: false bin: "./bin/godot.linuxbsd.template_release.x86_64"
tests: true
artifact: true artifact: true
steps: steps:
@ -174,7 +176,6 @@ jobs:
with: with:
bin: ${{ matrix.bin }} bin: ${{ matrix.bin }}
# Execute unit tests for the editor
- name: Unit tests - name: Unit tests
if: ${{ matrix.tests }} if: ${{ matrix.tests }}
run: | run: |

View File

@ -29,8 +29,9 @@ jobs:
- name: Template (target=template_release) - name: Template (target=template_release)
cache-name: macos-template cache-name: macos-template
target: template_release target: template_release
tests: false tests: true
sconsflags: debug_symbols=no sconsflags: debug_symbols=no tests=yes
bin: "./bin/godot.macos.template_release.universal"
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -84,7 +85,6 @@ jobs:
with: with:
name: ${{ matrix.cache-name }} name: ${{ matrix.cache-name }}
# Execute unit tests for the editor
- name: Unit tests - name: Unit tests
if: ${{ matrix.tests }} if: ${{ matrix.tests }}
run: | run: |

View File

@ -34,8 +34,9 @@ jobs:
- name: Template (target=template_release) - name: Template (target=template_release)
cache-name: windows-template cache-name: windows-template
target: template_release target: template_release
tests: false tests: true
sconsflags: debug_symbols=no sconsflags: debug_symbols=no tests=yes
bin: "./bin/godot.windows.template_release.x86_64.console.exe"
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -91,7 +92,6 @@ jobs:
with: with:
name: ${{ matrix.cache-name }} name: ${{ matrix.cache-name }}
# Execute unit tests for the editor
- name: Unit tests - name: Unit tests
if: ${{ matrix.tests }} if: ${{ matrix.tests }}
run: | run: |