Github Actions translations [ci skip]
This commit is contained in:
parent
a2dfbac430
commit
4f0d9f3c97
3 changed files with 37 additions and 2 deletions
19
.github/workflows/ci-main.yml
vendored
19
.github/workflows/ci-main.yml
vendored
|
@ -158,3 +158,22 @@ jobs:
|
|||
|
||||
- name: Flatpak
|
||||
run: ./.github/workflows/ci-scripts/ubuntu.sh master flatpak false scons gcc g++ 14 release false
|
||||
|
||||
linux-09-master:
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Cache object files
|
||||
uses: actions/cache@v2
|
||||
env:
|
||||
cache-name: linux-09-cache-master
|
||||
with:
|
||||
path: ~/build-cache
|
||||
key: linux-09-master
|
||||
|
||||
- name: Translations
|
||||
run: ./.github/workflows/ci-scripts/ubuntu.sh master 2004 only scons gcc g++ 14 release false
|
||||
|
|
18
.github/workflows/ci-scripts/docker.sh
vendored
18
.github/workflows/ci-scripts/docker.sh
vendored
|
@ -39,7 +39,23 @@ checkindent() {
|
|||
EXIT_VAL=-1
|
||||
|
||||
if [ "$NLS" == "only" ]; then
|
||||
echo "TODO"
|
||||
export LANGUAGE=en_US.UTF-8
|
||||
export LANG=en_US.UTF-8
|
||||
export LC_ALL=en_US.UTF-8
|
||||
|
||||
./utils/travis/check_utf8.sh || exit 1
|
||||
./utils/travis/utf8_bom_dog.sh || exit 1
|
||||
|
||||
cmake -DENABLE_NLS=true -DENABLE_GAME=false -DENABLE_SERVER=false -DENABLE_CAMPAIGN_SERVER=false -DENABLE_TESTS=false -DENABLE_POT_UPDATE_TARGET=TRUE
|
||||
make update-po4a-man || exit 1
|
||||
make update-po4a-manual || exit 1
|
||||
make pot-update || exit 1
|
||||
make mo-update || exit 1
|
||||
make clean
|
||||
|
||||
scons translations build=release --debug=time nls=true jobs=2 || exit 1
|
||||
|
||||
scons pot-update update-po4a manual
|
||||
elif [ "$IMAGE" == "flatpak" ]; then
|
||||
# docker's --volume means the directory is on a separate filesystem
|
||||
# flatpak-builder doesn't support this
|
||||
|
|
2
.github/workflows/ci-scripts/ubuntu.sh
vendored
2
.github/workflows/ci-scripts/ubuntu.sh
vendored
|
@ -18,7 +18,7 @@ echo "NLS: $NLS"
|
|||
echo "TOOL: $TOOL"
|
||||
echo "CC: $CC"
|
||||
echo "CXX: $CXX"
|
||||
echo "CXXSTD: $CXXSTD"
|
||||
echo "CXX_STD: $CXX_STD"
|
||||
echo "CFG: $CFG"
|
||||
echo "LTO: $LTO"
|
||||
echo "CACHE_DIR: $CACHE_DIR"
|
||||
|
|
Loading…
Add table
Reference in a new issue