fix(workflow): test build arch

This commit is contained in:
源文雨 2024-04-16 13:53:30 +09:00
parent 79f14911a1
commit bcccfc255f
2 changed files with 10 additions and 3 deletions

View File

@ -33,10 +33,17 @@ jobs:
~/go/pkg/mod ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.goos }}-${{ matrix.goarch }}-${{ hashFiles('**/go.sum') }} key: ${{ runner.os }}-go-${{ matrix.goos }}-${{ matrix.goarch }}-${{ hashFiles('**/go.sum') }}
- name: Build and Run Tests - name: Test Build
env: env:
NDK_TOOLCHAIN: ${{ steps.setup-ndk.outputs.ndk-path }} NDK_TOOLCHAIN: ${{ steps.setup-ndk.outputs.ndk-path }}
BUILD_MACHINE: linux BUILD_MACHINE: linux
run: | run: |
echo NDK path is $NDK_TOOLCHAIN echo NDK path is $NDK_TOOLCHAIN
make -e runtest make -e
- name: Build and Run Tests
env:
NDK_TOOLCHAIN: ${{ steps.setup-ndk.outputs.ndk-path }}
BUILD_MACHINE: linux
GOARCH: amd64
run: make -e runtest