13
13
GODOT_ENGINE_VERSION : " 4.3.0"
14
14
GODOT_ENGINE_STAGE : " stable"
15
15
INTEGRATION_VERSION : " 3.0.0"
16
+ BUILD_PROFILE_EDITOR : " build_profile_editor.json"
17
+ BUILD_PROFILE_RUNTIME : " build_profile_runtime.json"
16
18
17
19
jobs :
18
20
build-all :
@@ -208,7 +210,7 @@ jobs:
208
210
run : |
209
211
cd addons/Wwise/native
210
212
mkdir -p godot-cpp/bin
211
- scons platform=${{ matrix.scons-platform }} target=editor wwise_config=profile use_static_cpp=yes wwise_sdk=wwise_sdk
213
+ scons platform=${{ matrix.scons-platform }} target=editor wwise_config=profile use_static_cpp=yes wwise_sdk=wwise_sdk build_profile=${{ env.BUILD_PROFILE_EDITOR }}
212
214
cd ../../../
213
215
214
216
- name : Compile template_debug library
@@ -219,7 +221,7 @@ jobs:
219
221
SCONS_CACHE_LIMIT : 7168
220
222
run : |
221
223
cd addons/Wwise/native
222
- scons platform=${{ matrix.scons-platform }} target=template_debug wwise_config=profile use_static_cpp=yes wwise_sdk=wwise_sdk ${{ matrix.debug-flags }}
224
+ scons platform=${{ matrix.scons-platform }} target=template_debug wwise_config=profile use_static_cpp=yes wwise_sdk=wwise_sdk build_profile=${{ env.BUILD_PROFILE_RUNTIME }} ${{ matrix.debug-flags }}
223
225
cd ../../../
224
226
225
227
- name : Compile template_release library
@@ -230,7 +232,7 @@ jobs:
230
232
SCONS_CACHE_LIMIT : 7168
231
233
run : |
232
234
cd addons/Wwise/native
233
- scons platform=${{ matrix.scons-platform }} target=template_release wwise_config=release use_static_cpp=yes wwise_sdk=wwise_sdk ${{ matrix.release-flags }}
235
+ scons platform=${{ matrix.scons-platform }} target=template_release wwise_config=release use_static_cpp=yes wwise_sdk=wwise_sdk build_profile=${{ env.BUILD_PROFILE_RUNTIME }} ${{ matrix.release-flags }}
234
236
cd ../../../
235
237
236
238
- name : Compile Android libraries
@@ -241,10 +243,10 @@ jobs:
241
243
WWISESDK=$(pwd)
242
244
cd ../godot-cpp
243
245
mkdir -p bin
244
- scons platform=android target=template_debug dev_build=yes -j6 ${{ matrix.debug-flags-arm64 }}
245
- scons platform=android target=template_debug dev_build=yes -j6 ${{ matrix.debug-flags-arm32 }}
246
- scons platform=android target=template_release -j6 ${{ matrix.release-flags-arm64 }}
247
- scons platform=android target=template_release -j6 ${{ matrix.release-flags-arm32 }}
246
+ scons platform=android target=template_debug dev_build=yes build_profile="../build_profile_runtime.json" -j6 ${{ matrix.debug-flags-arm64 }}
247
+ scons platform=android target=template_debug dev_build=yes build_profile="../build_profile_runtime.json" -j6 ${{ matrix.debug-flags-arm32 }}
248
+ scons platform=android target=template_release build_profile="../build_profile_runtime.json" -j6 ${{ matrix.release-flags-arm64 }}
249
+ scons platform=android target=template_release build_profile="../build_profile_runtime.json" -j6 ${{ matrix.release-flags-arm32 }}
248
250
cd ../android
249
251
chmod +x ./gradlew
250
252
./gradlew assemble -PWWISE_SDK="$WWISESDK"
0 commit comments