mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +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
|
- name: Install wasmbrowsertest
|
||||||
run: |
|
run: |
|
||||||
# TODO: Use go install github.com/agnivade/wasmbrowsertest@... on Go 1.16 or later.
|
go install github.com/agnivade/wasmbrowsertest@latest
|
||||||
mkdir /tmp/wasmbrowsertest
|
mv $(go env GOPATH)/bin/wasmbrowsertest${{ startsWith(matrix.os, 'windows-') && '.exe' || '' }} $(go env GOPATH)/bin/go_js_wasm_exec${{ startsWith(matrix.os, 'windows-') && '.exe' || '' }}
|
||||||
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' || '' }}
|
|
||||||
|
|
||||||
- name: Prepare ebitenmobile test
|
- name: Prepare ebitenmobile test
|
||||||
if: ${{ !startsWith(matrix.go, '1.16.') }}
|
if: ${{ !startsWith(matrix.go, '1.16.') }}
|
||||||
|
Loading…
Reference in New Issue
Block a user