Moving drone configuration to CI.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7cc126db00
commit
87c855e8a1
3 changed files with 4 additions and 4 deletions
49
ci/drone.yml
Normal file
49
ci/drone.yml
Normal file
|
@ -0,0 +1,49 @@
|
|||
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-pyside2-xvfb:hirsute-5.15.2
|
||||
commands:
|
||||
- xvfb-run python3 run.py --test-build
|
||||
- xvfb-run python3 run.py --test-build ./ci/test1.lpf
|
||||
- xvfb-run python3 run.py --test-build ./ci/test2.lpf
|
||||
when:
|
||||
event: [ push, tag ]
|
||||
|
||||
- name: Windows test
|
||||
image: ad5001/ubuntu-pyside2-xvfb-wine:win7-5.15.2
|
||||
commands:
|
||||
- # For some reason, launching GUI apps with wine, even with xvfb-run, fails.
|
||||
- #xvfb-run python run.py --test-build
|
||||
- #xvfb-run python run.py --test-build ./ci/test1.lpf
|
||||
- #xvfb-run python run.py --test-build ./ci/test2.lpf
|
||||
when:
|
||||
event: [ push, tag ]
|
||||
|
||||
|
||||
- name: Linux packaging
|
||||
image: ad5001/accountfree-build-img:hirsute-5.15.2
|
||||
commands:
|
||||
- bash package-linux.sh
|
||||
when:
|
||||
event: [ push, tag ]
|
||||
|
||||
|
||||
- name: Windows building
|
||||
image: ad5001/accountfree-build-img-wine:win7-5.15.2
|
||||
commands:
|
||||
- bash build-wine.sh
|
||||
- bash package-wine.sh
|
||||
when:
|
||||
event: [ push, tag ]
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue