mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
parent
a7754eaae0
commit
264274b43b
20
.github/workflows/test.yml
vendored
20
.github/workflows/test.yml
vendored
@ -47,6 +47,15 @@ jobs:
|
|||||||
go build -o wasmbrowsertest github.com/agnivade/wasmbrowsertest
|
go build -o wasmbrowsertest github.com/agnivade/wasmbrowsertest
|
||||||
mv ./wasmbrowsertest $(go env GOPATH)/bin/go_js_wasm_exec
|
mv ./wasmbrowsertest $(go env GOPATH)/bin/go_js_wasm_exec
|
||||||
|
|
||||||
|
- name: Prepare ebitenmobile test
|
||||||
|
run: |
|
||||||
|
local_ebiten=$(pwd)
|
||||||
|
cd /tmp
|
||||||
|
git clone --depth=1 https://github.com/hajimehoshi/go-inovation
|
||||||
|
cd go-inovation
|
||||||
|
go mod edit -replace=github.com/hajimehoshi/ebiten/v2=$local_ebiten
|
||||||
|
go mod tidy
|
||||||
|
|
||||||
- name: Xvfb
|
- name: Xvfb
|
||||||
if: ${{ matrix.os == 'ubuntu-latest' }}
|
if: ${{ matrix.os == 'ubuntu-latest' }}
|
||||||
run: |
|
run: |
|
||||||
@ -76,12 +85,17 @@ jobs:
|
|||||||
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: Install ebitenmobile
|
||||||
|
run: |
|
||||||
|
go install ./cmd/ebitenmobile
|
||||||
|
|
||||||
- name: ebitenmobile bind (Android)
|
- name: ebitenmobile bind (Android)
|
||||||
run: |
|
run: |
|
||||||
go get github.com/hajimehoshi/go-inovation
|
cd /tmp/go-inovation
|
||||||
go run ./cmd/ebitenmobile bind -target android -javapkg com.hajimehoshi.goinovation -o inovation.aar -v github.com/hajimehoshi/go-inovation/mobile
|
ebitenmobile bind -target android -javapkg com.hajimehoshi.goinovation -o inovation.aar -v github.com/hajimehoshi/go-inovation/mobile
|
||||||
|
|
||||||
- name: ebitenmobile bind (iOS)
|
- name: ebitenmobile bind (iOS)
|
||||||
if: ${{ matrix.os == 'macos-latest' }}
|
if: ${{ matrix.os == 'macos-latest' }}
|
||||||
run: |
|
run: |
|
||||||
go run ./cmd/ebitenmobile bind -target ios -o Inovation.framework -v github.com/hajimehoshi/go-inovation/mobile
|
cd /tmp/go-inovation
|
||||||
|
ebitenmobile bind -target ios -o Inovation.framework -v github.com/hajimehoshi/go-inovation/mobile
|
||||||
|
Loading…
Reference in New Issue
Block a user