summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2025-01-12 21:49:22 +0100
committerGitHub <noreply@github.com>2025-01-12 21:49:22 +0100
commit3efaf147925b8cdb1f97bf3340b908b1fda9be93 (patch)
treeb3a44f82d7d17be48edd18442d35ac040970933f /.github
parentdceb12912143e5f35ed8c24fa06e48c6bb7761f0 (diff)
update translations workflow (#3435)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/translations.yml13
1 files changed, 9 insertions, 4 deletions
diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml
index e7f27f9b..1a77041e 100644
--- a/.github/workflows/translations.yml
+++ b/.github/workflows/translations.yml
@@ -4,7 +4,7 @@ on:
- cron: '0 0 * * *'
jobs:
crowdin:
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
@@ -16,7 +16,7 @@ jobs:
git submodule update --init --recursive
- uses: actions/setup-python@v5
with:
- python-version: '3.8.x'
+ python-version: '3.12.x'
- env:
CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_V2_KEY }}
CROWDIN_PROJECT_ID: "299419"
@@ -29,19 +29,24 @@ jobs:
sudo apt-get update
sudo apt install gettext
+
# for wxPython
+ sudo apt install libnotify4
sudo apt install glib-networking libsdl2-dev libsdl2-2.0-0
+
# for PyGObject
sudo apt install libgirepository1.0-dev libcairo2-dev
+
# for shapely
- sudo apt install libgeos-dev build-essential libgtk-3-dev
+ sudo apt install build-essential libgtk-3-dev libgeos-dev cmake
+ sudo apt install gcc g++ gfortran libopenblas-dev liblapack-dev
python -m pip install --upgrade pip
python -m pip install wheel
python -m pip install pycairo
python -m pip install PyGObject
- python -m pip install https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04/wxPython-4.1.1-cp38-cp38-linux_x86_64.whl
+ python -m pip install https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-24.04/wxPython-4.2.2-cp312-cp312-linux_x86_64.whl
python -m pip install -r requirements.txt
python -m pip install Babel