Use Go 1.17 for testing go-inovation

This commit is contained in:
Hajime Hoshi 2021-08-21 04:22:08 +09:00
parent 9f1113b733
commit c1190c4633

View File

@ -48,7 +48,7 @@ jobs:
mv ./wasmbrowsertest $(go env GOPATH)/bin/go_js_wasm_exec mv ./wasmbrowsertest $(go env GOPATH)/bin/go_js_wasm_exec
- name: Prepare ebitenmobile test - name: Prepare ebitenmobile test
if: ${{ !startsWith(matrix.go, '1.15.') }} if: ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') }}
run: | run: |
local_ebiten=$(pwd) local_ebiten=$(pwd)
cd /tmp cd /tmp
@ -91,13 +91,13 @@ jobs:
go install ./cmd/ebitenmobile go install ./cmd/ebitenmobile
- name: ebitenmobile bind (Android) - name: ebitenmobile bind (Android)
if: ${{ !startsWith(matrix.go, '1.15.') }} if: ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') }}
run: | run: |
cd /tmp/go-inovation cd /tmp/go-inovation
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' && !startsWith(matrix.go, '1.15.') }} if: ${{ matrix.os == 'macos-latest' && !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') }}
run: | run: |
cd /tmp/go-inovation cd /tmp/go-inovation
ebitenmobile bind -target ios -o Inovation.framework -v github.com/hajimehoshi/go-inovation/mobile ebitenmobile bind -target ios -o Inovation.framework -v github.com/hajimehoshi/go-inovation/mobile