LogarithmPlotter/ci/drone.yml
Ad5001 b143f7e10d
Some checks failed
continuous-integration/drone/push Build is failing
Disable Windows testing (issue between PySide6, wine & Xvfb).
Reinstating windows building.
2023-05-22 07:29:15 +02:00

48 lines
1.3 KiB
YAML

kind: pipeline
name: build-test
platform:
os: linux
arch: amd64
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: Linux test
image: ad5001/ubuntu-pyside6-xvfb:jammy-6.5.0
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
- 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
# 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:win7-6.5.0
commands:
- bash scripts/build-wine.sh
- bash scripts/package-wine.sh
when:
event: [ push, tag ]