fix: test

This commit is contained in:
源文雨 2024-04-16 20:50:57 +09:00
parent 427dd2cab8
commit c27340adc0
2 changed files with 4 additions and 18 deletions

View File

@ -27,14 +27,6 @@ jobs:
- name: Setup Go Environment - name: Setup Go Environment
uses: actions/setup-go@master uses: actions/setup-go@master
- name: Cache Downloaded Modules
uses: actions/cache@master
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.goos }}-${{ matrix.goarch }}-${{ hashFiles('**/go.sum') }}
- name: Build Libraries - name: Build Libraries
env: env:
NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}

View File

@ -19,14 +19,6 @@ jobs:
- name: Setup Go Environment - name: Setup Go Environment
uses: actions/setup-go@master uses: actions/setup-go@master
- name: Cache Downloaded Modules
uses: actions/cache@master
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.goos }}-${{ matrix.goarch }}-${{ hashFiles('**/go.sum') }}
- name: Test Build - name: Test Build
env: env:
NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
@ -42,5 +34,7 @@ jobs:
GOARCH: amd64 GOARCH: amd64
run: | run: |
make -e test make -e test
ls build cd build
make -e runtest ls -hl
ldd test
./test