mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 00:16:15 +00:00
.builds: switch from fedora/latest to debian/testing
Fedora builds kept failing at package installation. See ~sircmpwn/builds.sr.ht#220. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
image: debian/testing
|
||||
packages:
|
||||
- curl
|
||||
- libwayland-dev
|
||||
- libx11-dev
|
||||
- libxkbcommon-dev
|
||||
- libgles2-mesa-dev
|
||||
- libegl1-mesa-dev
|
||||
- wine
|
||||
- golang
|
||||
sources:
|
||||
- https://git.sr.ht/~eliasnaur/gio
|
||||
environment:
|
||||
PATH: $PATH:/usr/bin:/home/build/goroot/go/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 .)
|
||||
Reference in New Issue
Block a user