Don't use --tty for the translation job

This commit is contained in:
Gunter Labes 2022-06-04 04:17:28 +02:00
parent 810e1e105a
commit ae09d75267
No known key found for this signature in database
GPG key ID: C0C7B971CC910216

View file

@ -36,7 +36,9 @@ else
WORKDIR /home/wesnoth-CI
EOF
docker run --tty --cap-add=ALL --privileged \
[[ $NLS == only ]] || tty=1 # something in the update-po4a-manual step hangs when building the xml (po4a-translate) and --tty is used
docker run ${tty+--tty} --cap-add=ALL --privileged \
--env BRANCH --env IMAGE --env NLS --env TOOL --env CC --env CXX \
--env CXX_STD --env CFG --env LTO \
wesnoth-repo:"$IMAGE"-"$BRANCH" ./.github/workflows/ci-scripts/docker.sh