mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
.github/workflows: enable Wasm test on Windows
Probably #2274 changed the situation. Closes #1313
This commit is contained in:
parent
6e2fb46625
commit
c9de6be572
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -49,8 +49,8 @@ jobs:
|
|||||||
cd /tmp/wasmbrowsertest
|
cd /tmp/wasmbrowsertest
|
||||||
go mod init foo
|
go mod init foo
|
||||||
go get github.com/agnivade/wasmbrowsertest
|
go get github.com/agnivade/wasmbrowsertest
|
||||||
go build -o wasmbrowsertest github.com/agnivade/wasmbrowsertest
|
go build -o wasmbrowsertest${{ startsWith(matrix.os, 'windows-') && '.exe' || '' }} github.com/agnivade/wasmbrowsertest
|
||||||
mv ./wasmbrowsertest $(go env GOPATH)/bin/go_js_wasm_exec
|
mv ./wasmbrowsertest${{ startsWith(matrix.os, 'windows-') && '.exe' || '' }} $(go env GOPATH)/bin/go_js_wasm_exec${{ startsWith(matrix.os, 'windows-') && '.exe' || '' }}
|
||||||
|
|
||||||
- name: Prepare ebitenmobile test
|
- name: Prepare ebitenmobile test
|
||||||
if: ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') }}
|
if: ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') }}
|
||||||
@ -125,8 +125,6 @@ jobs:
|
|||||||
env GOARCH=386 go test -tags=example ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v ./...
|
env GOARCH=386 go test -tags=example ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v ./...
|
||||||
|
|
||||||
- name: go test (Wasm)
|
- name: go test (Wasm)
|
||||||
# TODO: Investigate times out on Windows. (#1313)
|
|
||||||
if: ${{ !startsWith(matrix.os, 'windows-') }}
|
|
||||||
run: |
|
run: |
|
||||||
env GOOS=js GOARCH=wasm go test -tags=example ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v ./...
|
env GOOS=js GOARCH=wasm go test -tags=example ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v ./...
|
||||||
env GOOS=js GOARCH=wasm EBITENGINE_OPENGL=webgl1 go test -tags=example ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v ./...
|
env GOOS=js GOARCH=wasm EBITENGINE_OPENGL=webgl1 go test -tags=example ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v ./...
|
||||||
|
Loading…
Reference in New Issue
Block a user