4
0

build-aya-bpf.yml 578 B

12345678910111213141516171819202122232425262728293031323334
  1. name: build-aya-bpf
  2. on:
  3. push:
  4. branches:
  5. - main
  6. - ci
  7. pull_request:
  8. branches:
  9. - main
  10. env:
  11. CARGO_TERM_COLOR: always
  12. jobs:
  13. build:
  14. runs-on: ubuntu-20.04
  15. steps:
  16. - uses: actions/checkout@v2
  17. - uses: actions-rs/toolchain@v1
  18. with:
  19. toolchain: nightly
  20. override: true
  21. - uses: Swatinem/rust-cache@v1
  22. - name: Build
  23. run: cargo build --manifest-path bpf/Cargo.toml --verbose
  24. - name: Run tests
  25. run: RUST_BACKTRACE=full cargo test --manifest-path bpf/Cargo.toml --verbose