mirror of https://github.com/rapiz1/rathole.git
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:
parent
f772c7cfed
commit
694363fd60
|
@ -33,9 +33,15 @@ jobs:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
target: armv7-unknown-linux-musleabihf
|
target: armv7-unknown-linux-musleabihf
|
||||||
exe: rathole
|
exe: rathole
|
||||||
|
- os: ubuntu-latest
|
||||||
|
target: mips-unknown-linux-gnu
|
||||||
|
exe: rathole
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
target: mips-unknown-linux-musl
|
target: mips-unknown-linux-musl
|
||||||
exe: rathole
|
exe: rathole
|
||||||
|
- os: ubuntu-latest
|
||||||
|
target: mipsel-unknown-linux-gnu
|
||||||
|
exe: rathole
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
target: mipsel-unknown-linux-musl
|
target: mipsel-unknown-linux-musl
|
||||||
exe: rathole
|
exe: rathole
|
||||||
|
@ -75,7 +81,8 @@ jobs:
|
||||||
- name: Run UPX
|
- name: Run UPX
|
||||||
# Upx may not support some platforms. Ignore the errors
|
# Upx may not support some platforms. Ignore the errors
|
||||||
continue-on-error: true
|
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
|
uses: crazy-max/ghaction-upx@v1
|
||||||
with:
|
with:
|
||||||
version: v3.96
|
version: v3.96
|
||||||
|
|
Loading…
Reference in New Issue