Skip to content

Commit

Permalink
Always install gettext for Linux testing (#5138)
Browse files Browse the repository at this point in the history
msgfmt is required to build:

msgfmt -c -v -o ./locale/cs/LC_MESSAGES/openscad.mo ./locale/cs.po
./scripts/translation-update.sh: 86: msgfmt: not found
error running msgfmt
  • Loading branch information
cjmayo committed May 19, 2024
1 parent f35972f commit 0cd5ad7
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ jobs:

- name: Install dependencies
run: ./scripts/github-ci-linux-get-dependencies.sh bionic
- name: Dependency fixup
run: sudo apt-get install gettext
- name: Build
run: ./scripts/github-ci.sh experimental build

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Install dependencies
run: ./scripts/github-ci-linux-get-dependencies.sh ${{ matrix.distro }}
- name: Dependency fixup
run: sudo apt-get install gettext gcovr
run: sudo apt-get install gcovr
- name: Make Qt5 the default
if: ${{ matrix.qt5default }}
run: sudo apt-get install qt5-default
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ jobs:
submodules: 'recursive'
- name: Install dependencies
run: ./scripts/github-ci-linux-get-dependencies.sh kinetic
- name: Dependency fixup
run: sudo apt-get install gettext
- uses: actions/setup-python@v5
with:
python-version: '3.11'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/non-experimental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install dependencies
run: ./scripts/github-ci-linux-get-dependencies.sh kinetic
- name: Dependency fixup
run: sudo apt-get install gettext gcovr
run: sudo apt-get install gcovr
- uses: actions/setup-python@v5
with:
python-version: '3.11'
Expand Down
2 changes: 1 addition & 1 deletion scripts/github-ci-linux-get-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

DIST="$1"

PACKAGES1="build-essential bison cmake curl flex git-core imagemagick ghostscript"
PACKAGES1="build-essential bison cmake curl flex gettext git-core imagemagick ghostscript"
PACKAGES2="libboost-all-dev libboost-dev libeigen3-dev libzip-dev libcrypto++-dev"
PACKAGES3="libxi-dev libxmu-dev qtbase5-dev qtmultimedia5-dev libqt5opengl5-dev libqt5svg5-dev libqt5scintilla2-dev"
PACKAGES4="libcgal-dev libglew-dev libgmp3-dev libgmp-dev libmpfr-dev libegl-dev libegl1-mesa-dev"
Expand Down

0 comments on commit 0cd5ad7

Please sign in to comment.