mirror of https://github.com/rapiz1/rathole.git
ci: support apple aarch64 (#294)
This commit is contained in:
parent
63221028c9
commit
e4766e7d90
|
@ -70,6 +70,11 @@ jobs:
|
||||||
target: x86_64-apple-darwin
|
target: x86_64-apple-darwin
|
||||||
exe: rathole
|
exe: rathole
|
||||||
cross: false
|
cross: false
|
||||||
|
|
||||||
|
- os: macos-latest
|
||||||
|
target: aarch64-apple-darwin
|
||||||
|
exe: rathole
|
||||||
|
cross: false
|
||||||
|
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
target: x86_64-pc-windows-msvc
|
target: x86_64-pc-windows-msvc
|
||||||
|
@ -96,7 +101,7 @@ jobs:
|
||||||
if: matrix.cross == false
|
if: matrix.cross == false
|
||||||
run: rustup target add ${{ matrix.target }}
|
run: rustup target add ${{ matrix.target }}
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
if: matrix.cross == false
|
if: matrix.cross == false && matrix.target != 'aarch64-apple-darwin'
|
||||||
run: cargo test --release --target ${{ matrix.target }} --verbose
|
run: cargo test --release --target ${{ matrix.target }} --verbose
|
||||||
- name: Build release
|
- name: Build release
|
||||||
if: matrix.cross == false
|
if: matrix.cross == false
|
||||||
|
|
Loading…
Reference in New Issue