mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 00:14:09 -04:00
testing: Add testing for the debian build.
This commit is contained in:
parent
b9ebb9f4f9
commit
198de76130
64
.drone.yml
64
.drone.yml
@ -1,30 +1,3 @@
|
|||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: kubernetes
|
|
||||||
name: debian-build
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: build
|
|
||||||
image: debian:testing
|
|
||||||
|
|
||||||
settings:
|
|
||||||
registry: gitea.hedron.io
|
|
||||||
username:
|
|
||||||
from_secret: username
|
|
||||||
password:
|
|
||||||
from_secret: password
|
|
||||||
repo: gitea.hedron.io/jtgans/g13gui
|
|
||||||
tags:
|
|
||||||
- latest
|
|
||||||
platform: linux/amd64
|
|
||||||
mtu: 1000
|
|
||||||
|
|
||||||
commands:
|
|
||||||
- apt-get update
|
|
||||||
- touch /etc/pbuilderrc
|
|
||||||
- apt-get install -y devscripts python3 build-essential git-buildpackage appstream dh-sequence-python3 meson
|
|
||||||
- make
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
@ -63,3 +36,40 @@ steps:
|
|||||||
- pacman -U --noconfirm build/g13gui*.zst
|
- pacman -U --noconfirm build/g13gui*.zst
|
||||||
- python3 -m g13gui.tests
|
- python3 -m g13gui.tests
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: debian-build
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: debian:testing
|
||||||
|
|
||||||
|
settings:
|
||||||
|
registry: gitea.hedron.io
|
||||||
|
username:
|
||||||
|
from_secret: username
|
||||||
|
password:
|
||||||
|
from_secret: password
|
||||||
|
repo: gitea.hedron.io/jtgans/g13gui
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
platform: linux/amd64
|
||||||
|
mtu: 1000
|
||||||
|
|
||||||
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y devscripts python3 build-essential git-buildpackage appstream dh-sequence-python3 meson
|
||||||
|
- make
|
||||||
|
|
||||||
|
- name: test
|
||||||
|
image: debian:testing
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- build
|
||||||
|
|
||||||
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install ./build/g13*.deb
|
||||||
|
- python3 -m g13gui.tests
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user