mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
.github/workflows: use a version suffix for go-install
This commit is contained in:
parent
6eb4b2762f
commit
c54f60c3a7
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
@ -45,13 +45,8 @@ jobs:
|
||||
|
||||
- name: Install wasmbrowsertest
|
||||
run: |
|
||||
# TODO: Use go install github.com/agnivade/wasmbrowsertest@... on Go 1.16 or later.
|
||||
mkdir /tmp/wasmbrowsertest
|
||||
cd /tmp/wasmbrowsertest
|
||||
go mod init foo
|
||||
go get github.com/agnivade/wasmbrowsertest
|
||||
go build -o wasmbrowsertest${{ startsWith(matrix.os, 'windows-') && '.exe' || '' }} github.com/agnivade/wasmbrowsertest
|
||||
mv ./wasmbrowsertest${{ startsWith(matrix.os, 'windows-') && '.exe' || '' }} $(go env GOPATH)/bin/go_js_wasm_exec${{ startsWith(matrix.os, 'windows-') && '.exe' || '' }}
|
||||
go install github.com/agnivade/wasmbrowsertest@latest
|
||||
mv $(go env GOPATH)/bin/wasmbrowsertest${{ startsWith(matrix.os, 'windows-') && '.exe' || '' }} $(go env GOPATH)/bin/go_js_wasm_exec${{ startsWith(matrix.os, 'windows-') && '.exe' || '' }}
|
||||
|
||||
- name: Prepare ebitenmobile test
|
||||
if: ${{ !startsWith(matrix.go, '1.16.') }}
|
||||
|
Loading…
Reference in New Issue
Block a user