Files
gio-patched/.builds/linux.yml
T
Elias Naur b4f73b3ef7 .builds: add missing xkbcommon-x11 dependency
The dependency was added when merging the X11 and Wayland keyboard
handling.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2019-11-28 12:09:29 +01:00

49 lines
1.2 KiB
YAML

image: debian/testing
repositories:
experimental: http://deb.debian.org/debian experimental main
packages:
- curl
- libwayland-dev
- libx11-dev
- libxkbcommon-dev
- libxkbcommon-x11-dev
- libgles2-mesa-dev
- libegl1-mesa-dev
- wine
- golang
- xvfb
- xdotool
- scrot
- sway
- grim
sources:
- https://git.sr.ht/~eliasnaur/gio
environment:
GOFLAGS: -mod=readonly
PATH: /home/build/bin:/usr/bin
tasks:
- install_gotip: |
go get golang.org/dl/gotip
/home/build/go/bin/gotip download
mkdir /home/build/bin
ln -s /home/build/go/bin/gotip /home/build/bin/go
- install_chrome: |
curl -s https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt update
sudo apt install -y google-chrome-stable
- test_gio: |
cd gio
go test -race ./...
GOOS=windows go test -exec=wine ./...
- test_example: |
cd gio/example
go test -race ./...
- test_cmd: |
cd gio/cmd
go test ./...
go test -race ./...
- check_gofmt: |
cd gio
test -z "$(gofmt -s -l .)"