Install locales used in wxUILocale tests on the CI system

Ensure that the tests are run instead of being skipped.

Also merge "Set environment variables" and "Before install" steps into a
single "Set up" step to avoid adding yet another separate step for
locale installation.
This commit is contained in:
Vadim Zeitlin 2021-08-31 00:59:58 +02:00
parent b14137a355
commit c835d1afa6

View File

@ -111,7 +111,7 @@ jobs:
with:
submodules: 'recursive'
- name: Set environment variables
- name: Set up build system
run: |
echo LD_LIBRARY_PATH=`pwd`/lib >> $GITHUB_ENV
@ -149,8 +149,10 @@ jobs:
echo "wxMAKEFILE_CXXFLAGS=$wxMAKEFILE_CXXFLAGS $error_opts" >> $GITHUB_ENV
- name: Before install
run: |
# Install locales used by our tests to run all the tests instead of
# skipping them.
sudo locale-gen de_DE.utf8 de_CH.utf8 en_US.utf8 fr_FR.utf8 sv_SE.utf8
./build/tools/before_install.sh
- name: Configuring