dependabot[bot]
9a367c11b0
build(deps): bump actions/checkout in the github-actions group
...
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout ).
Updates `actions/checkout` from 4 to 5
- [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/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2 weeks ago
Tamir Duberstein
eda29958f8
Use CRABBY_GITHUB_TOKEN for regen PRs
...
See https://github.com/peter-evans/create-pull-request/issues/48 .
3 months ago
Tamir Duberstein
9916092f5c
codegen: tidy up
...
- Document the need for external rustfmt invocation.
- Remove reexports.
- Remove `write_to_file`.
- Avoid allocating strings when using bindgen to write bindings.
6 months ago
Tamir Duberstein
b18b4f7369
ci: use output rather than env
...
This appeases my IDE and removes annoying yellow squiggles.
6 months ago
Tamir Duberstein
56ebe1406e
aya-tool: do not attempt to run rustfmt
...
This can be done externally. Do so in CI.
This is an attempt to resolve the inconsistency between CI and local
rustfmt in the generated bindings.
Restore running CI on generated branches; the presence of a PR is
apparently not enough.
6 months ago
WANG Rui
9d0bdb56e6
chore(xtask): Add loongarch64 to codegen
...
Signed-off-by: WANG Rui <wangrui@loongson.cn>
6 months ago
Tamir Duberstein
a25e355ba7
ci: run on all branches
...
It is especially common to run CI on non-main branches in forks. This
shouldn't have any impact on how many CI jobs we run in the main aya
repo if contributors follow a fork-centric workflow.
6 months ago
Tamir Duberstein
5d5b63dcb1
gen: run on ubuntu-latest
...
ubuntu-20.04 is being deprecated.
See https://github.com/actions/runner-images/issues/11101 .
6 months ago
Tamir Duberstein
8af5f38056
gen: run automatically
7 months ago
Tamir Duberstein
83b791223f
gen: remove pointless "update"
...
libbpf is a submodule, so its version is already effectively pinned.
`xtask codegen` also runs `git submodule update` which reverts the
action of updating to `origin/HEAD`. Remove the cruft.
7 months ago
Tamir Duberstein
76d1b9f46e
gen: use peter-evans/create-pull-request@v7
...
We already use this for the lint job on main.
7 months ago
Dave Tucker
5d27e62b6a
ci: Update codegen PR template
...
Updated to match the commit message
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
7 months ago
Dave Tucker
34be19a24d
ci: Improve Codegen Workflow
...
1. Bless public-api changes
2. (Hopefully) fix the commit message
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
7 months ago
Dave Tucker
3b41205059
ci: Install libc6-dev-mips-cross for codegen
...
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
7 months ago
Dave Tucker
64ec062c84
ci: Fix codegen and prep for s390/ppc64el
...
Adds missing libelf headers that are now included
as part of libbpf-internal.h. Adds ppc64el and
s390x to the cross environment.
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
1 year ago
dependabot[bot]
385b04c12b
build(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [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/v3...v4 )
---
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
Andrew Werner
d5259ce789
xtask: move libbpf submodule
2 years ago
Andrew Werner
4306b222d8
.github: update codegen workflow to use submodule
2 years ago
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.
2 years 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 .
2 years 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>
4 years ago
Dave Tucker
facb01f34b
ci: Use crabby-the-crab
...
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
4 years ago
Alessandro Decina
ab0d08910d
ci: gen: fix workflow
4 years ago
Alessandro Decina
f372a4cd5f
ci: gen: install cross headers
4 years ago
Dave Tucker
1a4c76e3c4
ci: Update codgen workflow commit message
...
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
4 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>
4 years ago