mirror of https://github.com/aya-rs/aya
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.
34 lines
509 B
YAML
34 lines
509 B
YAML
3 years ago
|
name: Build aya-bpf
|
||
3 years ago
|
|
||
|
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
|
||
3 years ago
|
|
||
|
- uses: actions-rs/toolchain@v1
|
||
|
with:
|
||
|
toolchain: nightly
|
||
|
|
||
3 years ago
|
- uses: Swatinem/rust-cache@v1
|
||
|
|
||
|
- name: Build
|
||
3 years ago
|
run: cargo +nightly build --verbose
|
||
3 years ago
|
|
||
|
- name: Run tests
|
||
3 years ago
|
run: RUST_BACKTRACE=full cargo +nightly test --verbose
|