mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
parent
f79acf9569
commit
0c1449de5e
22
.github/workflows/test.yml
vendored
22
.github/workflows/test.yml
vendored
@ -79,18 +79,32 @@ jobs:
|
|||||||
env GOOS=windows GOARCH=amd64 go build -tags=example -v ./...
|
env GOOS=windows GOARCH=amd64 go build -tags=example -v ./...
|
||||||
env GOOS=windows GOARCH=386 go build -tags=example -v ./...
|
env GOOS=windows GOARCH=386 go build -tags=example -v ./...
|
||||||
|
|
||||||
- name: go test
|
- name: go test (Go 1.16 or older)
|
||||||
if: ${{ startsWith(matrix.os, 'ubuntu-') }} # TODO: Add more test environments (#1305)
|
# TODO: Add more test environments (#1305)
|
||||||
|
if: ${{ startsWith(matrix.os, 'ubuntu-') && (startsWith(matrix.go, '1.15.') || startsWith(matrix.go, '1.16.')) }}
|
||||||
run: |
|
run: |
|
||||||
go test -tags=example -v ./...
|
go test -tags=example -v ./...
|
||||||
|
|
||||||
- name: go test (Wasm)
|
- name: go test
|
||||||
|
# TODO: Add more test environments (#1305)
|
||||||
|
if: ${{ startsWith(matrix.os, 'ubuntu-') && !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') }}
|
||||||
|
run: |
|
||||||
|
go test -tags=example -shuffle -v ./...
|
||||||
|
|
||||||
|
- name: go test (Wasm, Go 1.16 or older)
|
||||||
# TODO: Investigate times out on Windows. (#1313)
|
# TODO: Investigate times out on Windows. (#1313)
|
||||||
if: ${{ !startsWith(matrix.os, 'windows-') }}
|
if: ${{ !startsWith(matrix.os, 'windows-') && (startsWith(matrix.go, '1.15.') || startsWith(matrix.go, '1.16.')) }}
|
||||||
run: |
|
run: |
|
||||||
env GOOS=js GOARCH=wasm go test -tags=example -v ./...
|
env GOOS=js GOARCH=wasm go test -tags=example -v ./...
|
||||||
env GOOS=js GOARCH=wasm go test -tags=example,ebitenwebgl1 -v ./...
|
env GOOS=js GOARCH=wasm go test -tags=example,ebitenwebgl1 -v ./...
|
||||||
|
|
||||||
|
- name: go test (Wasm)
|
||||||
|
# TODO: Investigate times out on Windows. (#1313)
|
||||||
|
if: ${{ !startsWith(matrix.os, 'windows-') && !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') }}
|
||||||
|
run: |
|
||||||
|
env GOOS=js GOARCH=wasm go test -tags=example -shuffle -v ./...
|
||||||
|
env GOOS=js GOARCH=wasm go test -tags=example,ebitenwebgl1 -shuffle -v ./...
|
||||||
|
|
||||||
- name: Install ebitenmobile
|
- name: Install ebitenmobile
|
||||||
run: |
|
run: |
|
||||||
go install ./cmd/ebitenmobile
|
go install ./cmd/ebitenmobile
|
||||||
|
Loading…
Reference in New Issue
Block a user