Changing lupdate and lrelease to use pyside6 versions, updating images so I no longer have to install node to build.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Ad5001 2024-10-17 05:09:33 +02:00
parent 3c0d99d9c0
commit 811262b1fb
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
3 changed files with 5 additions and 12 deletions

View file

@ -1,2 +1,2 @@
#!/bin/bash
lrelease *.ts
pyside6-lrelease *.ts

View file

@ -40,7 +40,7 @@ done
echo "----------------------------"
echo "| Updating translations... |"
echo "----------------------------"
lupdate -extensions js,qs,qml,py -recursive ../../common/src -recursive ../../runtime-pyside6/LogarithmPlotter -ts lp_*.ts
pyside6-lupdate -extensions js,qs,qml,py -recursive ../../common/src -recursive ../../runtime-pyside6/LogarithmPlotter -ts lp_*.ts
# Updating locations in files
for lp in *.ts; do
echo "Replacing locations in $lp..."

View file

@ -12,28 +12,21 @@ steps:
- git submodule update --init --recursive
- name: Build
image: node:18-bookworm
image: ad5001/ubuntu-pyside-xvfb:linux-6-latest-latex-node
commands:
- cd common && npm install && cd ..
- apt update
- apt install -y qtchooser qttools5-dev-tools
# Start building
- bash scripts/build.sh
when:
event: [ push, tag ]
- name: Unit Tests
image: ad5001/ubuntu-pyside-xvfb:linux-6-latest-latex
image: ad5001/ubuntu-pyside-xvfb:linux-6-latest-latex-node
commands:
- apt update
- apt install -y npm
- cd common && npm install -D && cd ..
- xvfb-run bash scripts/run-tests.sh --no-rebuild
when:
event: [ push, tag ]
- name: File Tests
image: ad5001/ubuntu-pyside-xvfb:linux-6-latest-latex
image: ad5001/ubuntu-pyside-xvfb:linux-6-latest-latex-node
commands:
- xvfb-run python3 run.py --test-build --no-check-for-updates
- xvfb-run python3 run.py --test-build --no-check-for-updates ./ci/test1.lpf