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:
Adsooi 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 #!/bin/bash
lrelease *.ts pyside6-lrelease *.ts

View file

@ -40,7 +40,7 @@ done
echo "----------------------------" echo "----------------------------"
echo "| Updating translations... |" echo "| Updating translations... |"
echo "----------------------------" 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 # Updating locations in files
for lp in *.ts; do for lp in *.ts; do
echo "Replacing locations in $lp..." echo "Replacing locations in $lp..."

View file

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