diff options
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | .gitlab-ci.yml | 17 | ||||
-rw-r--r-- | PKGBUILD | 1 |
3 files changed, 19 insertions, 0 deletions
@@ -8,6 +8,7 @@ pkgbase = drawio-desktop-bin depends = gtk3 depends = libxss depends = nss + depends = alsa-lib provides = drawio-desktop conflicts = drawio-desktop source = drawio-desktop-bin-24.2.5.deb::https://github.com/jgraph/drawio-desktop/releases/download/v24.2.5/drawio-amd64-24.2.5.deb diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7d4de61acfb7..c7505c29080f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,6 +21,23 @@ build: paths: - '*.pkg.tar.zst' +test: + stage: test + image: + name: countstarlight/makepkg:latest + entrypoint: [""] + before_script: + - sudo pacman -Sy --noconfirm archlinux-keyring + - yay -Syu --noconfirm + - yay -Sy --noconfirm xorg-server-xvfb + - | + depends=() + . ./PKGBUILD + (pacman --deptest "${depends[@]}" || true) | xargs yay -Sy --noconfirm + script: + - yay --noconfirm -U *.pkg.tar.zst + - xvfb-run drawio -V + deploy: stage: deploy image: bitnami/git:latest @@ -11,6 +11,7 @@ depends=( "gtk3" "libxss" "nss" + "alsa-lib" ) provides=('drawio-desktop') conflicts=('drawio-desktop') |