|
|
|
@ -7,18 +7,16 @@ jobs: |
|
|
|
BoringTun: |
|
|
|
BoringTun: |
|
|
|
name: Rust project |
|
|
|
name: Rust project |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
env: |
|
|
|
|
|
|
|
workdir: ./boringtun |
|
|
|
|
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: Check code |
|
|
|
- name: Check code |
|
|
|
uses: actions/checkout@v2 |
|
|
|
uses: actions/checkout@v2 |
|
|
|
- name: Git clone BoringTun |
|
|
|
- name: Git clone BoringTun |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
git clone https://github.com/cloudflare/boringtun "$workdir" |
|
|
|
git clone https://github.com/cloudflare/boringtun . |
|
|
|
- uses: actions-rs/toolchain@v1 |
|
|
|
- uses: actions-rs/toolchain@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
toolchain: stable |
|
|
|
toolchain: stable |
|
|
|
- uses: actions-rs/cargo@v1 |
|
|
|
- uses: actions-rs/cargo@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
command: build |
|
|
|
command: build |
|
|
|
args: --release --all-features |
|
|
|
args: --release --bin boringtun --all-features |
|
|
|
|