From c835d1afa661c25a9ab8d73f06bffabf5034a9f2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 31 Aug 2021 00:59:58 +0200 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fcee94db3..006715adc3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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