Files
gio/.builds/linux.yml
T
Elias Naur c131a7f423 .builds: remove existing $PATH from PATH settings
$PATH is not expanded anyway, and it's better to be explicit.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2019-10-30 11:49:44 +01:00

35 lines
801 B
YAML

image: debian/testing
packages:
- curl
- libwayland-dev
- libx11-dev
- libxkbcommon-dev
- libgles2-mesa-dev
- libegl1-mesa-dev
- wine
- golang
- xvfb
sources:
- https://git.sr.ht/~eliasnaur/gio
environment:
PATH: /usr/bin
tasks:
- 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 ./...
GOOS=windows go test -exec=wine ./...
- test_example: |
cd gio/example
go test ./...
- test_cmd: |
cd gio/cmd
go test ./...
- check_gofmt: |
cd gio
test -z $(gofmt -s -l .)