mirror of https://github.com/ospab/ostp.git
ci: fix macOS toolchain error and use linux-arm64 tun2socks for android builds
This commit is contained in:
parent
0f81140f06
commit
01277b5108
|
|
@ -109,7 +109,7 @@ jobs:
|
||||||
target: aarch64-linux-android
|
target: aarch64-linux-android
|
||||||
artifact_name: ostp
|
artifact_name: ostp
|
||||||
release_name: ostp-android-arm64.tar.gz
|
release_name: ostp-android-arm64.tar.gz
|
||||||
tun2socks_arch: android-arm64
|
tun2socks_arch: linux-arm64
|
||||||
use_cross: true
|
use_cross: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -145,7 +145,7 @@ jobs:
|
||||||
if: ${{ !matrix.use_cross && matrix.os != 'windows-latest' }}
|
if: ${{ !matrix.use_cross && matrix.os != 'windows-latest' }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
rustup run ${{ matrix.toolchain || 'stable' }} cargo build --release --target ${{ matrix.target }} --bin ostp
|
cargo build --release --target ${{ matrix.target }} --bin ostp
|
||||||
|
|
||||||
- name: Execute Specialized Cross-Compilation
|
- name: Execute Specialized Cross-Compilation
|
||||||
if: ${{ matrix.use_cross }}
|
if: ${{ matrix.use_cross }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue