Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 7 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,27 +42,11 @@ jobs:
exe: rathole
cross: true
- os: ubuntu-latest
target: mips-unknown-linux-gnu
target: riscv64gc-unknown-linux-gnu
exe: rathole
cross: true
- os: ubuntu-latest
target: mips-unknown-linux-musl
exe: rathole
cross: true
- os: ubuntu-latest
target: mipsel-unknown-linux-gnu
exe: rathole
cross: true
- os: ubuntu-latest
target: mipsel-unknown-linux-musl
exe: rathole
cross: true
- os: ubuntu-latest
target: mips64-unknown-linux-gnuabi64
exe: rathole
cross: true
- os: ubuntu-latest
target: mips64el-unknown-linux-gnuabi64
target: riscv64gc-unknown-linux-musl
exe: rathole
cross: true

Expand All @@ -88,8 +72,11 @@ jobs:
default: true

- name: Install OpenSSL
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-latest' && !contains(matrix.target, 'musl')
run: sudo apt-get install pkg-config libssl-dev
- name: Install Musl Tools
if: contains(matrix.target, 'musl')
run: sudo apt-get install musl-tools
- name: Install OpenSSL
if: matrix.os == 'macos-latest'
run: brew install openssl@3
Expand Down Expand Up @@ -120,7 +107,7 @@ jobs:
# Upx may not support some platforms. Ignore the errors
continue-on-error: true
# Disable upx for mips. See https://github.com/upx/upx/issues/387
if: matrix.os == 'ubuntu-latest' && !contains(matrix.target, 'mips')
if: matrix.os == 'ubuntu-latest' && !contains(matrix.target, 'mips') && !contains(matrix.target, 'riscv64')
uses: crazy-max/ghaction-upx@v1
with:
version: v4.0.2
Expand Down
Loading
Loading