12345678910111213141516171819202122232425262728293031323334 |
- name: build-aya-bpf
- on:
- push:
- branches:
- - main
- - ci
- pull_request:
- branches:
- - main
- env:
- CARGO_TERM_COLOR: always
- jobs:
- build:
- runs-on: ubuntu-20.04
- steps:
- - uses: actions/checkout@v2
- - uses: actions-rs/toolchain@v1
- with:
- toolchain: nightly
- override: true
- - uses: Swatinem/rust-cache@v1
- - name: Build
- run: cargo build --manifest-path bpf/Cargo.toml --verbose
- - name: Run tests
- run: RUST_BACKTRACE=full cargo test --manifest-path bpf/Cargo.toml --verbose
|