File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ rm -rf godot
13
13
mkdir godot
14
14
cd godot
15
15
tar xf /root/godot.tar.gz --strip-components=1
16
+ cp -rf /root/swappy/* thirdparty/swappy-frame-pacing/
16
17
17
18
# Environment variables and keystore needed for signing store editor build,
18
19
# as well as signing and publishing to MavenCentral.
@@ -59,6 +60,7 @@ if [ "${CLASSICAL}" == "1" ]; then
59
60
# outside the container for the MavenCentral upload.
60
61
rm -rf /root/godot/*
61
62
tar xf /root/godot.tar.gz --strip-components=1
63
+ cp -rf /root/swappy/* thirdparty/swappy-frame-pacing/
62
64
63
65
$SCONS platform=android arch=arm32 $OPTIONS target=template_debug
64
66
$SCONS platform=android arch=arm32 $OPTIONS target=template_release
Original file line number Diff line number Diff line change @@ -180,6 +180,15 @@ if [ ! -d "deps/mesa" ]; then
180
180
popd
181
181
fi
182
182
183
+ if [ ! -d " deps/swappy" ]; then
184
+ echo " Missing Swappy libraries, downloading them."
185
+ mkdir -p deps/swappy
186
+ pushd deps/swappy
187
+ curl -L -O https://github.com/darksylinc/godot-swappy/releases/download/v2023.3.0.0/godot-swappy.7z
188
+ 7z x godot-swappy.7z && rm godot-swappy.7z
189
+ popd
190
+ fi
191
+
183
192
# Keystore for Android editor signing
184
193
# Optional - the config.sh will be copied but if it's not filled in,
185
194
# it will do an unsigned build.
@@ -243,7 +252,7 @@ mkdir -p ${basedir}/out/macos
243
252
${podman_run} -v ${basedir} /build-macos:/root/build -v ${basedir} /out/macos:/root/out -v ${basedir} /deps/moltenvk:/root/moltenvk -v ${basedir} /deps/angle:/root/angle localhost/godot-osx:${img_version} bash build/build.sh 2>&1 | tee ${basedir} /out/logs/macos
244
253
245
254
mkdir -p ${basedir} /out/android
246
- ${podman_run} -v ${basedir} /build-android:/root/build -v ${basedir} /out/android:/root/out -v ${basedir} /deps/keystore:/root/keystore localhost/godot-android:${img_version} bash build/build.sh 2>&1 | tee ${basedir} /out/logs/android
255
+ ${podman_run} -v ${basedir} /build-android:/root/build -v ${basedir} /out/android:/root/out -v ${basedir} /deps/swappy:/root/swappy -v ${basedir} /deps/ keystore:/root/keystore localhost/godot-android:${img_version} bash build/build.sh 2>&1 | tee ${basedir} /out/logs/android
247
256
248
257
mkdir -p ${basedir} /out/ios
249
258
${podman_run} -v ${basedir} /build-ios:/root/build -v ${basedir} /out/ios:/root/out localhost/godot-ios:${img_version} bash build/build.sh 2>&1 | tee ${basedir} /out/logs/ios
You can’t perform that action at this time.
0 commit comments