|
|
|
@ -5,7 +5,7 @@ on: |
|
|
|
|
|
|
|
|
|
|
|
jobs: |
|
|
|
jobs: |
|
|
|
BoringTun: |
|
|
|
BoringTun: |
|
|
|
name: Rust project |
|
|
|
name: Cross compile BoringTun |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: Check code |
|
|
|
- name: Check code |
|
|
|
@ -17,7 +17,10 @@ jobs: |
|
|
|
- uses: actions-rs/toolchain@v1 |
|
|
|
- uses: actions-rs/toolchain@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
toolchain: stable |
|
|
|
toolchain: stable |
|
|
|
|
|
|
|
target: aarch64-unknown-linux-gnu |
|
|
|
|
|
|
|
override: true |
|
|
|
- uses: actions-rs/cargo@v1 |
|
|
|
- uses: actions-rs/cargo@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
|
|
|
|
use-cross: true |
|
|
|
command: build |
|
|
|
command: build |
|
|
|
args: --release --bin boringtun-cli --all-features |
|
|
|
args: --release --bin boringtun-cli --all-features |
|
|
|
|