ci: fix mips build

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

- build both muslc and glibc for mips

- disable upx for mips
This commit is contained in:
Yujia Qiao 2022-01-21 21:36:26 +08:00 committed by Yujia Qiao
parent f772c7cfed
commit 694363fd60
No known key found for this signature in database
GPG Key ID: DC129173B148701B
1 changed files with 8 additions and 1 deletions

View File

@ -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