mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 01:45:36 +00:00
.builds: make the GLFW example build on the automatic builders
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+3
-3
@@ -19,9 +19,9 @@ tasks:
|
|||||||
- test_gio: |
|
- test_gio: |
|
||||||
cd gio
|
cd gio
|
||||||
go test ./...
|
go test ./...
|
||||||
- test_example: |
|
|
||||||
cd gio/example
|
|
||||||
go test ./...
|
|
||||||
- test_cmd: |
|
- test_cmd: |
|
||||||
cd gio/cmd
|
cd gio/cmd
|
||||||
go test ./...
|
go test ./...
|
||||||
|
- test_example: |
|
||||||
|
cd gio/example
|
||||||
|
go test ./...
|
||||||
|
|||||||
+8
-3
@@ -10,6 +10,11 @@ packages:
|
|||||||
- libxkbcommon-x11-dev
|
- libxkbcommon-x11-dev
|
||||||
- libgles2-mesa-dev
|
- libgles2-mesa-dev
|
||||||
- libegl1-mesa-dev
|
- libegl1-mesa-dev
|
||||||
|
- libxcursor-dev
|
||||||
|
- libxrandr-dev
|
||||||
|
- libxinerama-dev
|
||||||
|
- libxi-dev
|
||||||
|
- libxxf86vm-dev
|
||||||
- wine
|
- wine
|
||||||
- golang
|
- golang
|
||||||
- xvfb
|
- xvfb
|
||||||
@@ -38,13 +43,13 @@ tasks:
|
|||||||
cd gio
|
cd gio
|
||||||
go test -race ./...
|
go test -race ./...
|
||||||
GOOS=windows go test -exec=wine ./...
|
GOOS=windows go test -exec=wine ./...
|
||||||
- test_example: |
|
|
||||||
cd gio/example
|
|
||||||
go test -race ./...
|
|
||||||
- test_cmd: |
|
- test_cmd: |
|
||||||
cd gio/cmd
|
cd gio/cmd
|
||||||
go test ./...
|
go test ./...
|
||||||
go test -race ./...
|
go test -race ./...
|
||||||
|
- test_example: |
|
||||||
|
cd gio/example
|
||||||
|
go test -race ./...
|
||||||
- check_gofmt: |
|
- check_gofmt: |
|
||||||
cd gio
|
cd gio
|
||||||
test -z "$(gofmt -s -l .)"
|
test -z "$(gofmt -s -l .)"
|
||||||
|
|||||||
+3
-3
@@ -15,9 +15,9 @@ tasks:
|
|||||||
- test_gio: |
|
- test_gio: |
|
||||||
cd gio
|
cd gio
|
||||||
go test ./...
|
go test ./...
|
||||||
- test_example: |
|
|
||||||
cd gio/example
|
|
||||||
go test ./...
|
|
||||||
- test_cmd: |
|
- test_cmd: |
|
||||||
cd gio/cmd
|
cd gio/cmd
|
||||||
go test ./...
|
go test ./...
|
||||||
|
- test_example: |
|
||||||
|
cd gio/example
|
||||||
|
go test ./...
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
// SPDX-License-Identifier: Unlicense OR MIT
|
// SPDX-License-Identifier: Unlicense OR MIT
|
||||||
|
|
||||||
|
// package glfw doesn't build on OpenBSD and FreeBSD.
|
||||||
|
// +build !openbsd,!freebsd,!windows,!android,!ios,!js
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
Reference in New Issue
Block a user