File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,17 @@ if [ "${CLASSICAL}" == "1" ]; then
52
52
mkdir -p /root/out/arm64/templates
53
53
cp -rvp bin/* /root/out/arm64/templates
54
54
rm -rf bin
55
+
56
+ if [ " ${STEAM} " == " 1" ]; then
57
+ build_name=${BUILD_NAME}
58
+ export BUILD_NAME=" steam"
59
+ $SCONS platform=windows arch=x86_64 $OPTIONS target=editor steamapi=yes
60
+ $SCONS platform=windows arch=x86_32 $OPTIONS target=editor steamapi=yes
61
+ mkdir -p /root/out/steam
62
+ cp -rvp bin/* /root/out/steam
63
+ rm -rf bin
64
+ export BUILD_NAME=${build_name}
65
+ fi
55
66
fi
56
67
57
68
# Mono
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ godot_version=""
28
28
git_treeish=" master"
29
29
build_classical=1
30
30
build_mono=1
31
+ build_steam=0
31
32
force_download=0
32
33
skip_download=1
33
34
skip_git_checkout=0
@@ -100,6 +101,10 @@ case "$choice" in
100
101
esac
101
102
export GODOT_VERSION_STATUS=" ${status} "
102
103
104
+ if [ " ${status} " == " stable" ]; then
105
+ build_steam=1
106
+ fi
107
+
103
108
if [ ! -z " ${username} " ] && [ ! -z " ${password} " ]; then
104
109
if ${podman} login ${registry} -u " ${username} " -p " ${password} " ; then
105
110
export logged_in=true
@@ -226,7 +231,7 @@ mkdir -p ${basedir}/mono-glue
226
231
${podman_run} -v ${basedir} /build-mono-glue:/root/build localhost/godot-linux:${img_version} bash build/build.sh 2>&1 | tee ${basedir} /out/logs/mono-glue
227
232
228
233
mkdir -p ${basedir} /out/windows
229
- ${podman_run} -v ${basedir} /build-windows:/root/build -v ${basedir} /out/windows:/root/out -v ${basedir} /deps/angle:/root/angle -v ${basedir} /deps/mesa:/root/mesa localhost/godot-windows:${img_version} bash build/build.sh 2>&1 | tee ${basedir} /out/logs/windows
234
+ ${podman_run} -v ${basedir} /build-windows:/root/build -v ${basedir} /out/windows:/root/out -v ${basedir} /deps/angle:/root/angle -v ${basedir} /deps/mesa:/root/mesa --env STEAM= ${build_steam} localhost/godot-windows:${img_version} bash build/build.sh 2>&1 | tee ${basedir} /out/logs/windows
230
235
231
236
mkdir -p ${basedir} /out/linux
232
237
${podman_run} -v ${basedir} /build-linux:/root/build -v ${basedir} /out/linux:/root/out localhost/godot-linux:${img_version} bash build/build.sh 2>&1 | tee ${basedir} /out/logs/linux
You can’t perform that action at this time.
0 commit comments