mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-14 15:07:26 +01:00
98ead195c6
Closes #2737
14 lines
346 B
Bash
14 lines
346 B
Bash
export PATH=$PATH:/usr/local/go/bin
|
|
export CGO_CFLAGS=-std=gnu99
|
|
export DISPLAY=:99.0
|
|
|
|
# Install Go
|
|
curl --location --remote-name https://golang.org/dl/${GO_FILENAME}
|
|
rm -rf /usr/local/go && tar -C /usr/local -xzf ${GO_FILENAME}
|
|
|
|
# Run X
|
|
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
|
|
|
|
# Run the tests
|
|
env GITHUB_ACTIONS=true go test -v ./...
|