You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aya/aya-log/.github/workflows/build-bpf.yml

38 lines
569 B
YAML

name: build-bpf
on:
push:
branches:
- main
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
components: rust-src
override: true
- uses: Swatinem/rust-cache@v1
- name: Pre-requisites
run: cargo install bpf-linker
- name: Build
run: |
pushd ebpf
cargo build --verbose
popd