.builds: make the GLFW example build on the automatic builders

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-02-07 23:31:14 +01:00
parent 1f422ef960
commit 5f3f7b3514
4 changed files with 18 additions and 9 deletions
+3 -3
View File
@@ -19,9 +19,9 @@ tasks:
- test_gio: |
cd gio
go test ./...
- test_example: |
cd gio/example
go test ./...
- test_cmd: |
cd gio/cmd
go test ./...
- test_example: |
cd gio/example
go test ./...
+8 -3
View File
@@ -10,6 +10,11 @@ packages:
- libxkbcommon-x11-dev
- libgles2-mesa-dev
- libegl1-mesa-dev
- libxcursor-dev
- libxrandr-dev
- libxinerama-dev
- libxi-dev
- libxxf86vm-dev
- wine
- golang
- xvfb
@@ -38,13 +43,13 @@ tasks:
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 ./...
- test_example: |
cd gio/example
go test -race ./...
- check_gofmt: |
cd gio
test -z "$(gofmt -s -l .)"
+3 -3
View File
@@ -15,9 +15,9 @@ tasks:
- test_gio: |
cd gio
go test ./...
- test_example: |
cd gio/example
go test ./...
- test_cmd: |
cd gio/cmd
go test ./...
- test_example: |
cd gio/example
go test ./...
+4
View File
@@ -1,4 +1,8 @@
// SPDX-License-Identifier: Unlicense OR MIT
// package glfw doesn't build on OpenBSD and FreeBSD.
// +build !openbsd,!freebsd,!windows,!android,!ios,!js
package main
import (