File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,20 +36,23 @@ jobs:
3636 with :
3737 version : ${{ inputs.version }}
3838 version_ref : ${{ inputs.version_ref }}
39+ tests : ${{ github.event_name != 'release' }}
3940
4041 macos-build :
4142 name : 🍎 macOS
4243 uses : ./.github/workflows/build_macos.yml
4344 with :
4445 version : ${{ inputs.version }}
4546 version_ref : ${{ inputs.version_ref }}
47+ tests : ${{ github.event_name != 'release' }}
4648
4749 windows-build :
4850 name : 🏁 Windows
4951 uses : ./.github/workflows/build_windows.yml
5052 with :
5153 version : ${{ inputs.version }}
5254 version_ref : ${{ inputs.version_ref }}
55+ tests : ${{ github.event_name != 'release' }}
5356
5457 web-build :
5558 name : 🌐 Web
Original file line number Diff line number Diff line change @@ -153,6 +153,7 @@ jobs:
153153 with :
154154 scons-flags : ${{ env.SCONS_FLAGS }} ${{ matrix.sconsflags }}
155155 platform : linuxbsd
156+ tests : ${{ inputs.tests && matrix.target == 'editor' }}
156157
157158 - name : Save Godot build cache
158159 uses : ./.github/actions/godot-cache-save
Original file line number Diff line number Diff line change @@ -146,6 +146,7 @@ jobs:
146146 sconsflags : ${{ env.SCONSFLAGS }} ${{ matrix.sconsflags }} arch=x86_64 vulkan=${{ steps.vulkan-sdk.outputs.VULKAN_ENABLED }}
147147 platform : macos
148148 target : ${{ matrix.target }}
149+ tests : ${{ inputs.tests && matrix.target == 'editor' }}
149150 scons-cache-limit : 0 # Only cap on second run to avoid purging unnecessarily
150151
151152 - name : Compilation [4.5+] (x86_64)
@@ -155,6 +156,7 @@ jobs:
155156 scons-flags : ${{ env.SCONS_FLAGS }} ${{ matrix.sconsflags }} arch=x86_64 vulkan=${{ steps.vulkan-sdk.outputs.VULKAN_ENABLED }}
156157 platform : macos
157158 target : ${{ matrix.target }}
159+ tests : ${{ inputs.tests && matrix.target == 'editor' }}
158160
159161 - name : Compilation [4.4] (arm64)
160162 if : inputs.version == '4.4'
@@ -173,6 +175,7 @@ jobs:
173175 scons-flags : ${{ env.SCONS_FLAGS }} ${{ matrix.sconsflags }} arch=arm64 vulkan=${{ steps.vulkan-sdk.outputs.VULKAN_ENABLED }}
174176 platform : macos
175177 target : ${{ matrix.target }}
178+ tests : ${{ inputs.tests && matrix.target == 'editor' }}
176179
177180 - name : Save Godot build cache
178181 uses : ./.github/actions/godot-cache-save
Original file line number Diff line number Diff line change @@ -178,6 +178,7 @@ jobs:
178178 scons-flags : ${{ env.SCONS_FLAGS }} ${{ matrix.sconsflags }}
179179 platform : windows
180180 target : ${{ matrix.target }}
181+ tests : ${{ inputs.tests && matrix.target == 'editor' }}
181182
182183 - name : Save Godot build cache
183184 uses : ./.github/actions/godot-cache-save
You can’t perform that action at this time.
0 commit comments