.builds: don't rely on Sway being available

The Sway Debian experimental package is currently broken. Make it
optional.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-02-03 14:47:11 +01:00
parent 1cf8fee73f
commit dcacca3442
+2 -1
View File
@@ -15,7 +15,6 @@ packages:
- xvfb - xvfb
- xdotool - xdotool
- scrot - scrot
- sway
- grim - grim
sources: sources:
- https://git.sr.ht/~eliasnaur/gio - https://git.sr.ht/~eliasnaur/gio
@@ -23,6 +22,8 @@ environment:
GOFLAGS: -mod=readonly GOFLAGS: -mod=readonly
PATH: /home/build/bin:/usr/bin PATH: /home/build/bin:/usr/bin
tasks: tasks:
- maybe_install_sway: |
sudo apt-get install sway || true
- install_gotip: | - install_gotip: |
go get golang.org/dl/gotip go get golang.org/dl/gotip
/home/build/go/bin/gotip download /home/build/go/bin/gotip download