LogarithmPlotter/ci/drone.yml

38 lines
923 B
YAML
Raw Normal View History

kind: pipeline
name: build-test
platform:
os: linux
arch: amd64
steps:
2024-09-18 21:03:44 +00:00
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
2024-09-18 21:11:44 +00:00
- name: Unit Tests
2024-09-18 21:03:44 +00:00
image: ad5001/ubuntu-pyside6-xvfb:noble-6.7.2-latex
commands:
2024-09-18 21:20:00 +00:00
- xvfb-run bash scripts/run-tests.sh
2024-09-18 21:11:44 +00:00
when:
event: [ push, tag ]
- name: File Tests
image: ad5001/ubuntu-pyside6-xvfb:noble-6.7.2-latex
commands:
2024-09-18 21:03:44 +00:00
- 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 ]
2024-09-18 21:03:44 +00:00
- name: Windows build
image: ad5001/ubuntu-pyside6-xvfb-wine:win10-6.7.2
commands:
- bash scripts/build-wine.sh
- bash scripts/package-wine.sh
when:
event: [ push, tag ]