From 109944fb977c4ce12bca185600d7a404cbe54c7d Mon Sep 17 00:00:00 2001 From: June Tate-Gans Date: Thu, 28 Mar 2024 18:14:27 -0500 Subject: [PATCH] Add in a tests phase. --- .drone.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index c2abcd9..51bdde6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,3 +1,29 @@ +--- +kind: pipeline +type: kubernetes +name: tests + +steps: + - name: tests + image: archlinux:latest + + 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: + - pacman -Sy --noconfirm + - makepkg -s + - make test + --- kind: pipeline type: kubernetes @@ -51,4 +77,3 @@ steps: - pacman -S --noconfirm base-devel python meson lsb-release git - chown -R nobody:nobody . - sudo -u nobody make -