2021-07-11 16:18:01 +02:00
|
|
|
kind: pipeline
|
|
|
|
name: build-test
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
2024-09-18 23:03:44 +02:00
|
|
|
- name: submodules
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
|
|
|
- git submodule update --init --recursive
|
2021-07-11 19:35:12 +02:00
|
|
|
|
2024-09-26 03:24:57 +02:00
|
|
|
- name: Build
|
2024-10-17 05:09:33 +02:00
|
|
|
image: ad5001/ubuntu-pyside-xvfb:linux-6-latest-latex-node
|
2024-09-26 03:24:57 +02:00
|
|
|
commands:
|
2024-09-30 01:39:59 +02:00
|
|
|
- cd common && npm install && cd ..
|
2024-09-30 00:23:39 +02:00
|
|
|
- bash scripts/build.sh
|
2024-09-26 03:24:57 +02:00
|
|
|
|
2024-09-18 23:11:44 +02:00
|
|
|
- name: Unit Tests
|
2024-10-17 05:09:33 +02:00
|
|
|
image: ad5001/ubuntu-pyside-xvfb:linux-6-latest-latex-node
|
2024-09-18 23:03:44 +02:00
|
|
|
commands:
|
2024-09-30 01:39:59 +02:00
|
|
|
- cd common && npm install -D && cd ..
|
2024-10-01 21:50:10 +02:00
|
|
|
- xvfb-run bash scripts/run-tests.sh --no-rebuild
|
2024-09-18 23:11:44 +02:00
|
|
|
when:
|
|
|
|
event: [ push, tag ]
|
|
|
|
|
|
|
|
- name: File Tests
|
2024-10-17 05:09:33 +02:00
|
|
|
image: ad5001/ubuntu-pyside-xvfb:linux-6-latest-latex-node
|
2024-09-18 23:11:44 +02:00
|
|
|
commands:
|
2024-09-18 23:03:44 +02: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
|
2024-10-28 18:51:13 +01:00
|
|
|
- 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
|
2024-09-18 23:03:44 +02:00
|
|
|
when:
|
|
|
|
event: [ push, tag ]
|
2021-07-11 16:18:01 +02:00
|
|
|
|
2024-09-18 23:03:44 +02:00
|
|
|
- name: Windows build
|
2024-09-19 20:21:04 +02:00
|
|
|
image: ad5001/ubuntu-pyside-xvfb:wine-6-latest
|
2024-09-18 23:03:44 +02:00
|
|
|
commands:
|
2024-10-01 21:50:10 +02:00
|
|
|
- bash scripts/build-wine.sh --no-rebuild
|
2024-09-18 23:03:44 +02:00
|
|
|
- bash scripts/package-wine.sh
|
|
|
|
when:
|
|
|
|
event: [ push, tag ]
|
2023-05-22 07:29:15 +02:00
|
|
|
|