wesnoth/utils/dockerbuilds/make_steam_build
Pentarctagon 1f6bf4c203 Upload artifacts that could be used for releases.
Also don't upload things anymore that aren't being used.
2021-11-18 12:32:17 -06:00

11 lines
344 B
Bash
Executable File

#!/bin/sh -xe
cd steamrt
docker build -t steamos-wesnoth .
rm -rf ../steambuild
mkdir ../steambuild
if [ -d "$PWD"/../../../build ]; then
echo "Existing scons 'build' directory found, this may cause the build to fail!"
fi
docker run -v "$PWD"/../../..:/wesnoth -v "$PWD"/../steambuild:/output --tmpfs /build:exec -u "$UID" steamos-wesnoth