Explorar o código

ci: fix mips build

- link aginst glibc instead of muslc on mips32 (#115)

- build both muslc and glibc for mips

- disable upx for mips
Yujia Qiao %!s(int64=4) %!d(string=hai) anos
pai
achega
694363fd60
Modificáronse 1 ficheiros con 8 adicións e 1 borrados
  1. 8 1
      .github/workflows/release.yml

+ 8 - 1
.github/workflows/release.yml

@@ -33,9 +33,15 @@ jobs:
           - os: ubuntu-latest
             target: armv7-unknown-linux-musleabihf
             exe: rathole
+          - os: ubuntu-latest
+            target: mips-unknown-linux-gnu
+            exe: rathole
           - os: ubuntu-latest
             target: mips-unknown-linux-musl
             exe: rathole
+          - os: ubuntu-latest
+            target: mipsel-unknown-linux-gnu
+            exe: rathole
           - os: ubuntu-latest
             target: mipsel-unknown-linux-musl
             exe: rathole
@@ -75,7 +81,8 @@ jobs:
     - name: Run UPX
       # Upx may not support some platforms. Ignore the errors
       continue-on-error: true
-      if: matrix.os == 'ubuntu-latest'
+      # Disable upx for mips. See https://github.com/upx/upx/issues/387
+      if: matrix.os == 'ubuntu-latest' && !contains(matrix.target, 'mips')
       uses: crazy-max/ghaction-upx@v1
       with:
         version: v3.96