mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
gitlab-ci: compile locales using gettext and babel
This commit is contained in:
parent
288877e7ce
commit
6925083e57
1 changed files with 3 additions and 0 deletions
|
@ -109,6 +109,7 @@ pip_install:
|
||||||
# setup venv to act as release build machine
|
# setup venv to act as release build machine
|
||||||
- python -m venv sdist-env
|
- python -m venv sdist-env
|
||||||
- . sdist-env/bin/activate
|
- . sdist-env/bin/activate
|
||||||
|
- ! (./setup.py compile_catalog 2>&1 | grep -F "error:")
|
||||||
- ./setup.py compile_catalog sdist
|
- ./setup.py compile_catalog sdist
|
||||||
- deactivate
|
- deactivate
|
||||||
- tar tzf dist/fdroidserver-*.tar.gz | grep locale/de/LC_MESSAGES/fdroidserver.mo
|
- tar tzf dist/fdroidserver-*.tar.gz | grep locale/de/LC_MESSAGES/fdroidserver.mo
|
||||||
|
@ -144,6 +145,8 @@ lint_format_safety_bandit_checks:
|
||||||
tests/*.py
|
tests/*.py
|
||||||
tests/*.TestCase
|
tests/*.TestCase
|
||||||
|| export EXITVALUE=1
|
|| export EXITVALUE=1
|
||||||
|
- apk add --no-cache gettext make
|
||||||
|
- make -C locale compile
|
||||||
- exit $EXITVALUE
|
- exit $EXITVALUE
|
||||||
|
|
||||||
fedora_latest:
|
fedora_latest:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue