LogarithmPlotter/ci/drone.yml
Ad5001 43e41a5da4
All checks were successful
continuous-integration/drone/push Build is passing
Adding new test files
Including:
- magnitude.lpf & phase.lpf: regular use case magnitude and phase
- all.lpf: tests all objects
- stress.lpf: over 200 objects to be rendered
2024-10-28 18:51:13 +01:00

48 lines
1.5 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: Build
image: ad5001/ubuntu-pyside-xvfb:linux-6-latest-latex-node
commands:
- cd common && npm install && cd ..
- bash scripts/build.sh
- name: Unit Tests
image: ad5001/ubuntu-pyside-xvfb:linux-6-latest-latex-node
commands:
- 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-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
- xvfb-run python3 run.py --test-build --no-check-for-updates ./ci/test2.lpf
- xvfb-run python3 run.py --test-build --no-check-for-updates ./ci/all.lpf
- xvfb-run python3 run.py --test-build --no-check-for-updates ./ci/magnitude.lpf
- xvfb-run python3 run.py --test-build --no-check-for-updates ./ci/phase.lpf
- xvfb-run python3 run.py --test-build --no-check-for-updates ./ci/stress.lpf
when:
event: [ push, tag ]
- name: Windows build
image: ad5001/ubuntu-pyside-xvfb:wine-6-latest
commands:
- bash scripts/build-wine.sh --no-rebuild
- bash scripts/package-wine.sh
when:
event: [ push, tag ]