mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-09-26 20:11:28 +08:00
internal/processtest/testdata: bug fix: skip issue2737 at GitHub Actions
An audio driver seems not found even on Windows.
This commit is contained in:
5
internal/processtest/testdata/issue2737.go
vendored
5
internal/processtest/testdata/issue2737.go
vendored
@@ -20,7 +20,6 @@ import (
|
||||
"errors"
|
||||
"io"
|
||||
"os"
|
||||
"runtime"
|
||||
"strings"
|
||||
"sync"
|
||||
"time"
|
||||
@@ -97,9 +96,9 @@ func (g *Game) Layout(width, height int) (int, int) {
|
||||
}
|
||||
|
||||
func main() {
|
||||
// Drivers might not be available, especially on Linux on GitHub Actions.
|
||||
// Drivers might not be available, especially on GitHub Actions.
|
||||
// TODO: Enable this by install a dummy driver.
|
||||
if strings.TrimSpace(os.Getenv("GITHUB_ACTIONS")) == "true" && runtime.GOOS == "linux" {
|
||||
if strings.TrimSpace(os.Getenv("GITHUB_ACTIONS")) == "true" {
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user