This commit is contained in:
parent
4759bdcd33
commit
29e48e284c
3 changed files with 13 additions and 24 deletions
26
ci/drone.yml
26
ci/drone.yml
|
@ -11,35 +11,19 @@ steps:
|
|||
commands:
|
||||
- git submodule update --init --recursive
|
||||
|
||||
- name: Linux test
|
||||
image: ad5001/ubuntu-pyside6-xvfb:jammy-6.6.1
|
||||
- name: Tests
|
||||
image: ad5001/ubuntu-pyside6-xvfb:noble-6.7.2
|
||||
commands:
|
||||
- pytest --cov --cov-report term-missing
|
||||
- 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/test2.lpf
|
||||
when:
|
||||
event: [ push, tag ]
|
||||
|
||||
# - name: Windows test
|
||||
# image: ad5001/ubuntu-pyside6-xvfb-wine:win7-6.5.0-rev1
|
||||
# commands:
|
||||
# - # For some reason, launching GUI apps with wine, even with xvfb-run, fails.
|
||||
# - xvfb-run python run.py --test-build --no-check-for-updates
|
||||
# - xvfb-run python run.py --test-build --no-check-for-updates ./ci/test1.lpf
|
||||
# - xvfb-run python run.py --test-build --no-check-for-updates ./ci/test2.lpf
|
||||
# when:
|
||||
# event: [ push, tag ]
|
||||
|
||||
# - name: Linux packaging
|
||||
# image: ad5001/ubuntu-pyside6-xvfb:jammy-6.5.0
|
||||
# commands:
|
||||
# - bash scripts/package-linux.sh
|
||||
# when:
|
||||
# event: [ push, tag ]
|
||||
|
||||
|
||||
- name: Windows building
|
||||
image: ad5001/ubuntu-pyside6-xvfb-wine:win10-6.6.1
|
||||
- name: Windows build
|
||||
image: ad5001/ubuntu-pyside6-xvfb-wine:win10-6.7.2
|
||||
commands:
|
||||
- bash scripts/build-wine.sh
|
||||
- bash scripts/package-wine.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue