mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +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: |
|
||||
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
@@ -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
@@ -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 ./...
|
||||
|
||||
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user