diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index ec9a8d9..7e19244 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,4 +1,4 @@ -name: Build meta Core for ShellCrash +name:test on: workflow_dispatch: @@ -66,32 +66,32 @@ jobs: goos: linux goarch: amd64 goamd64: v1 - # - name: linux-386 - # goos: linux - # goarch: 386 - # - name: linux-arm64 - # goos: linux - # goarch: arm64 - # - name: linux-armv5 - # goos: linux - # goarch: arm - # goarm: 5 - # - name: linux-armv7 - # goos: linux - # goarch: arm - # goarm: 7 - # - name: linux-mips-softfloat - # goos: linux - # goarch: mips - # gomips: softfloat - # - name: linux-mipsle-softfloat - # goos: linux - # goarch: mipsle - # gomips: softfloat - # - name: linux-mipsle-hardfloat - # goos: linux - # goarch: mipsle - # gomips: hardfloat + - name: linux-386 + goos: linux + goarch: 386 + - name: linux-arm64 + goos: linux + goarch: arm64 + - name: linux-armv5 + goos: linux + goarch: arm + goarm: 5 + - name: linux-armv7 + goos: linux + goarch: arm + goarm: 7 + - name: linux-mips-softfloat + goos: linux + goarch: mips + gomips: softfloat + - name: linux-mipsle-softfloat + goos: linux + goarch: mipsle + gomips: softfloat + - name: linux-mipsle-hardfloat + goos: linux + goarch: mipsle + gomips: hardfloat fail-fast: false runs-on: ubuntu-latest @@ -177,6 +177,7 @@ jobs: - name: Zip core by tar run: | for arch in amd64 armv5 armv7 arm64 mips-softfloat mipsle-hardfloat mipsle-softfloat;do + [ ! -f ./tmp/linux-${arch}/meta ] && continue mv -f ./tmp/linux-${arch}/meta ./tmp/CrashCore chmod +x ./tmp/CrashCore tar --no-same-owner -zcvf ./tmp/clash-linux-${arch}.tar.gz -C ./tmp CrashCore