diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 090cf72..9880424 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,29 +37,29 @@ jobs: - name: go vet if: ${{ !startsWith(matrix.os, 'windows-') && !startsWith(matrix.os, 'macos-') }} run: | - go vet -tags=example -v ./... + go vet -v ./... - name: go build run: | - go build -tags=example -v ./... + go build -v ./... # Compile without optimization to check potential stack overflow. # The option '-gcflags=all=-N -l' is often used at Visual Studio Code. # See also https://go.googlesource.com/vscode-go/+/HEAD/docs/debugging.md#launch and the issue hajimehoshi/ebiten#2120. - go build -tags=example "-gcflags=all=-N -l" -v ./... + go build "-gcflags=all=-N -l" -v ./... # Check cross-compiling WebAssembly. # Unfortunately it is difficult to test Oto on browsers since this requires user interactions. - env GOOS=js GOARCH=wasm go build -tags=example -v ./... + env GOOS=js GOARCH=wasm go build -v ./... # Check cross-compiling Windows binaries. - env GOOS=windows GOARCH=386 go build -tags=example -v ./... - env GOOS=windows GOARCH=amd64 go build -tags=example -v ./... - env GOOS=windows GOARCH=arm go build -tags=example -v ./... - env GOOS=windows GOARCH=arm64 go build -tags=example -v ./... + env GOOS=windows GOARCH=386 go build -v ./... + env GOOS=windows GOARCH=amd64 go build -v ./... + env GOOS=windows GOARCH=arm go build -v ./... + env GOOS=windows GOARCH=arm64 go build -v ./... # Check cross-compiling macOS binaries. - env GOOS=darwin GOARCH=amd64 go build -tags=example -v ./... - env GOOS=darwin GOARCH=arm64 go build -tags=example -v ./... + env GOOS=darwin GOARCH=amd64 go build -v ./... + env GOOS=darwin GOARCH=arm64 go build -v ./... - name: go mod vendor run: | @@ -78,4 +78,4 @@ jobs: - name: go test run: | - go test -tags=example -shuffle=on -v -count=10 ./... + go test -shuffle=on -v -count=10 ./...