2021-07-11 14:18:01 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: build-test
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
2021-07-11 17:35:12 +00:00
|
|
|
- name: submodules
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
|
2021-07-11 14:18:01 +00:00
|
|
|
- name: Linux test
|
2023-05-21 23:50:22 +00:00
|
|
|
image: ad5001/ubuntu-pyside6-xvfb:jammy-6.5.0
|
2021-07-11 14:18:01 +00:00
|
|
|
commands:
|
2022-01-26 18:51:36 +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
|
2021-07-11 14:18:01 +00:00
|
|
|
when:
|
|
|
|
event: [ push, tag ]
|
|
|
|
|
2023-05-22 05:29:15 +00:00
|
|
|
# - name: Windows test
|
2023-05-22 05:43:44 +00:00
|
|
|
# image: ad5001/ubuntu-pyside6-xvfb-wine:win7-6.5.0-rev1
|
2023-05-21 23:50:22 +00:00
|
|
|
# commands:
|
2023-05-22 05:29:15 +00:00
|
|
|
# - # 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
|
2023-05-21 23:50:22 +00:00
|
|
|
# when:
|
|
|
|
# event: [ push, tag ]
|
2023-05-22 05:29:15 +00:00
|
|
|
|
|
|
|
# - name: Linux packaging
|
|
|
|
# image: ad5001/ubuntu-pyside6-xvfb:jammy-6.5.0
|
2023-05-21 23:50:22 +00:00
|
|
|
# commands:
|
2023-05-22 05:29:15 +00:00
|
|
|
# - bash scripts/package-linux.sh
|
2023-05-21 23:50:22 +00:00
|
|
|
# when:
|
|
|
|
# event: [ push, tag ]
|
2023-05-22 05:29:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
- name: Windows building
|
2023-05-22 05:43:44 +00:00
|
|
|
image: ad5001/ubuntu-pyside6-xvfb-wine:win7-6.5.0-rev1
|
2023-05-22 05:29:15 +00:00
|
|
|
commands:
|
|
|
|
- bash scripts/build-wine.sh
|
|
|
|
- bash scripts/package-wine.sh
|
|
|
|
when:
|
|
|
|
event: [ push, tag ]
|
|
|
|
|