Tamir Duberstein
8c61fc9ea6
integration-test: compile C probes using build.rs
...
- Add libbpf as a submodule. This prevents having to plumb its location
around (which can't be passed to Cargo build scripts) and also
controls the version against which codegen has run.
- Move bpf written in C to the integration-test crate and define
constants for each probe.
- Remove magic; each C source file must be directly enumerated in the
build script and in lib.rs.
1 year ago
Tamir Duberstein
6f286f1d4d
github: update Swatinem/rust-cache@{v1,v2}
...
I don't understand why, but dependabot isn't updating this. See
https://github.com/dependabot/dependabot-core/issues/7384 .
1 year ago
Tamir Duberstein
d5d6a95de6
Replace actions-rs/toolchain with dtolnay/rust-toolchain
...
See https://github.com/actions-rs/toolchain/issues/216 ; actions-rs seems
to be unmaintained.
2 years ago
dependabot[bot]
31301e4f51
build(deps): bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Dave Tucker
ce7a8b7dc1
.github: gen - add rustfmt to toolchain
3 years ago
Dave Tucker
8b7950bb0f
.github: use nightly for codegen
...
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
3 years ago
gianluigi
d35680f30c
Add riscv64 architecture support to xtask/codegen
3 years ago
Dave Tucker
ef42739c65
.github: force push to codegen branch
...
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
3 years ago
Dave Tucker
facb01f34b
ci: Use crabby-the-crab
...
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
3 years ago
Alessandro Decina
ab0d08910d
ci: gen: fix workflow
3 years ago
Alessandro Decina
f372a4cd5f
ci: gen: install cross headers
3 years ago
Dave Tucker
1a4c76e3c4
ci: Update codgen workflow commit message
...
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
3 years ago
Dave Tucker
544efdd4d7
ci: Add action for xtask codegen
...
This commit adds a github action that will
- check out aya and libbpf
- run xtask codegen
- if there is a diff, open commit changes to the codegen branch
- if changes were comitted, open a pull-request
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
3 years ago