mirror of
https://github.com/godotengine/godot-build-scripts.git
synced 2026-01-06 14:09:54 +03:00
Windows: Add extra editor build with steamapi=yes for stable releases
This commit is contained in:
@@ -52,6 +52,17 @@ if [ "${CLASSICAL}" == "1" ]; then
|
|||||||
mkdir -p /root/out/arm64/templates
|
mkdir -p /root/out/arm64/templates
|
||||||
cp -rvp bin/* /root/out/arm64/templates
|
cp -rvp bin/* /root/out/arm64/templates
|
||||||
rm -rf bin
|
rm -rf bin
|
||||||
|
|
||||||
|
if [ "${STEAM}" == "1" ]; then
|
||||||
|
build_name=${BUILD_NAME}
|
||||||
|
export BUILD_NAME="steam"
|
||||||
|
$SCONS platform=windows arch=x86_64 $OPTIONS target=editor steamapi=yes
|
||||||
|
$SCONS platform=windows arch=x86_32 $OPTIONS target=editor steamapi=yes
|
||||||
|
mkdir -p /root/out/steam
|
||||||
|
cp -rvp bin/* /root/out/steam
|
||||||
|
rm -rf bin
|
||||||
|
export BUILD_NAME=${build_name}
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Mono
|
# Mono
|
||||||
|
|||||||
7
build.sh
7
build.sh
@@ -28,6 +28,7 @@ godot_version=""
|
|||||||
git_treeish="master"
|
git_treeish="master"
|
||||||
build_classical=1
|
build_classical=1
|
||||||
build_mono=1
|
build_mono=1
|
||||||
|
build_steam=0
|
||||||
force_download=0
|
force_download=0
|
||||||
skip_download=1
|
skip_download=1
|
||||||
skip_git_checkout=0
|
skip_git_checkout=0
|
||||||
@@ -100,6 +101,10 @@ case "$choice" in
|
|||||||
esac
|
esac
|
||||||
export GODOT_VERSION_STATUS="${status}"
|
export GODOT_VERSION_STATUS="${status}"
|
||||||
|
|
||||||
|
if [ "${status}" == "stable" ]; then
|
||||||
|
build_steam=1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -z "${username}" ] && [ ! -z "${password}" ]; then
|
if [ ! -z "${username}" ] && [ ! -z "${password}" ]; then
|
||||||
if ${podman} login ${registry} -u "${username}" -p "${password}"; then
|
if ${podman} login ${registry} -u "${username}" -p "${password}"; then
|
||||||
export logged_in=true
|
export logged_in=true
|
||||||
@@ -226,7 +231,7 @@ mkdir -p ${basedir}/mono-glue
|
|||||||
${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
|
${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
|
||||||
|
|
||||||
mkdir -p ${basedir}/out/windows
|
mkdir -p ${basedir}/out/windows
|
||||||
${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
|
${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
|
||||||
|
|
||||||
mkdir -p ${basedir}/out/linux
|
mkdir -p ${basedir}/out/linux
|
||||||
${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
|
${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
|
||||||
|
|||||||
Reference in New Issue
Block a user