dependabot[bot]
fc2320bb5d
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 5 to 6
- [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/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2 days ago
dependabot[bot]
75cd7e835f
build(deps): bump DavidAnson/markdownlint-cli2-action
...
Bumps the github-actions group with 1 update: [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action ).
Updates `DavidAnson/markdownlint-cli2-action` from 20 to 21
- [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases )
- [Commits](https://github.com/davidanson/markdownlint-cli2-action/compare/v20...v21 )
---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
dependency-version: '21'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
1 week ago
Tamir Duberstein
7a8ad146f4
Add macos-latest
...
There's no way to get hardware acceleration on arm64 at all, so let's at
least make sure our stuff keeps working on macOS.
2 weeks ago
Tamir Duberstein
2a33c642de
.github: remove push-to-fork
...
We need to create the fork first.
2 weeks ago
Tamir Duberstein
b21284f36b
.github: move permissions to workflow root
2 weeks ago
Tamir Duberstein
a3282e1d14
.github: make minimally-authorized token
...
We only use this to download public repos.
2 weeks ago
Tamir Duberstein
9518ff8ca6
.github: use alls-green
2 weeks ago
Tamir Duberstein
5dd6d94342
.github: update reference
...
The referenced issue has hundreds of automated mentions, making it quite
hard to look at.
2 weeks ago
Tamir Duberstein
fd18c3f4ab
.github: shard arm64 virtualized integration
...
Github arm64 runners don't support nested virtualization and they broke
nested virtualization on macos-15-intel so we must go nuclear.
2 weeks ago
Tamir Duberstein
e2f09ac62f
.github: move comments to Brewfile
...
This is where the dependencies are.
2 weeks ago
Tamir Duberstein
7288a2b8da
.github: remove stale comment
...
GNU tar is not needed since 5f046899b5 .
2 weeks ago
Tamir Duberstein
65865e8dfc
.github: disable macos-15-intel
...
These builds are timing out, see
https://github.com/actions/runner-images/issues/13277 .
2 weeks ago
Tamir Duberstein
112ab47fcd
Add clippy coverage for doctests
2 weeks ago
Tamir Duberstein
4dc4a6ce08
.github: exercise targets for real
4 weeks ago
Tamir Duberstein
e5eb3058aa
.github: save CI time
...
These jobs take 18 seconds of machine time and 21 seconds of setup;
consolidate them into one job to cut down on the overhead.
1 month ago
Godones
4b4b9f83bd
enable bpf_target_arch = loongarch64
...
Signed-off-by: Godones <chenlinfeng25@outlook.com>
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
1 month ago
Tamir Duberstein
e3f69829de
.github: run old kernels first
1 month ago
Tamir Duberstein
c7d4cd3943
ci: test against 5.10
...
This is the earliest LTS that still exists on debian mirrors.
1 month ago
Tamir Duberstein
5f046899b5
xtask: teach integration-test vm to consume kernel debs directly
...
Bundle handling of Debian kernel archives into xtask so callers can pipe
the raw `.deb` paths straight into `cargo xtask integration-test vm …`.
The driver now extracts each archive into `<cache>/kernel-archives`,
locates the matching `vmlinuz-*`, `lib/modules/*`, and config files, and
feeds those into the initramfs build without requiring the user to
pre-run dpkg/tar. With this in place we drop
`.github/scripts/find_kernels.py`, simplify AGENTS.md/CI instructions to
use `find test/.tmp -name '*.deb'`, remove the gnu-tar requirement we no
longer need, and add `tar` as a workspace dependency for the extractor.
2 months ago
Tamir Duberstein
d82ed60795
.cargo/config: use musl-cross on x86_64 as well
...
This allows us to run virtualized integration tests on macOS hosts.
Bump Ubuntu to 24.04 because we seem to be getting miscompilation on
x86_64 otherwise (when using `x86_64-linux-musl-gcc`). Add `apt install
liblzma-dev` since it doesn't seem to be present in ubuntu-24.04.
2 months ago
Tamir Duberstein
82750ae3b1
.github: attempt to enable KVM
2 months ago
Tamir Duberstein
a2324e6e50
Add Brewfile
2 months ago
Tamir Duberstein
d1fdbb9930
Update to macOS 15 ( #1351 )
2 months ago
Tamir Duberstein
222b2cb88f
.github: avoid spurious CI failures in forks
...
This spams my email every day.
3 months ago
Tamir Duberstein
a01b1d8b76
.github: build bpf-linker with llvm-21
3 months ago
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>
4 months ago
Tamir Duberstein
5b9d432a61
github: fix PR triggers
4 months ago
Michal Rostecki
727dfcd7ee
ci: Fix bpf-linker installation ( #1295 )
...
We've recently added an xtask to bpf-linker (aya-rs/bpf-linker#282 ),
which resulted in multiple binary targets. Therefore, bpf-linker has
to be installed with the following command:
```
cargo install --git https://github.com/aya-rs/bpf-linker.git bpf-linker
```
The last argument (`bpf-linker`) specifies the binary target.
4 months ago
Tamir Duberstein
eda29958f8
Use CRABBY_GITHUB_TOKEN for regen PRs
...
See https://github.com/peter-evans/create-pull-request/issues/48 .
6 months ago
dependabot[bot]
e1fa363619
build(deps): bump DavidAnson/markdownlint-cli2-action
...
Bumps the github-actions group with 1 update: [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action ).
Updates `DavidAnson/markdownlint-cli2-action` from 19 to 20
- [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases )
- [Commits](https://github.com/davidanson/markdownlint-cli2-action/compare/v19...v20 )
---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
dependency-version: '20'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
Tamir Duberstein
0237e36dbe
ci: test against 6.12 rather than 6.10
...
6.12 is an LTS kernel, while 6.10 is not. The latter has reached EOL and
no longer lives on debian mirrors.
8 months ago
Tamir Duberstein
e967d0aea2
Use nul bytes as delimiters
8 months ago
Dave Tucker
abe5f743a3
feat: Refactor init into test-distro
...
The init module contains a small init system for running our integration
tests against a kernel. While we don't need a full-blown linux distro,
we do need some utilities.
Once such utility is `modprobe` which allows us to load kernel modules.
Rather than create a new module for this utility, I've instead
refactored `init` into `test-distro` which is a module that contains
multiple binaries.
The xtask code has been adjusted to ensure these binaries are inserted
into the correct places in our cpio archive, as well as bringing in the
kernel modules.
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
8 months ago
Tamir Duberstein
e16f0482f8
Revert "ci: remove cross toolchain"
...
Turns out this was actually being used through magic.
Remove mips since it is a tier 3 target that is only supported on
nightly and dtolnay/rust-toolchain doesn't seem to handle installing
targets without std.
Exclude xtask since it depends on `ring` which doesn't build on all
targets.
Fix compilation on armv7 which had rotted.
This reverts commit d92fc95c39 .
9 months ago
Tamir Duberstein
34319cba12
ci,xtask: sort architectures
9 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.
9 months ago
Tamir Duberstein
7525532204
ci: remove superfluous name
...
It's implied from the git URL.
9 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.
9 months ago
Tamir Duberstein
76d1b9f46e
gen: use peter-evans/create-pull-request@v7
...
We already use this for the lint job on main.
10 months ago
Dave Tucker
1495a93c45
ci: Include mips architecture in tests
...
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
10 months ago
Tamir Duberstein
2907bc678d
ci: add ARM runner
...
Remove gcc-multilib which doesn't exist on arm64.
10 months ago
dependabot[bot]
e8b8467c18
build(deps): bump DavidAnson/markdownlint-cli2-action
...
Bumps the github-actions group with 1 update: [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action ).
Updates `DavidAnson/markdownlint-cli2-action` from 18 to 19
- [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases )
- [Commits](https://github.com/davidanson/markdownlint-cli2-action/compare/v18...v19 )
---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
11 months ago
Tamir Duberstein
d1457acc6d
ci: cache downloads
...
We're seeing 429 from Github trying to download gen_init_cpio, so cache
it using actions cache. Since I'm here add this for kernel images as
well to save time waiting on slow Debian servers.
11 months ago
Tamir Duberstein
cc2da4a2a4
ci: download gen_init_cpio with authentication
...
The raw endpoint[0] now[1] seems to return HTTP 429 on the first request
and unauthenticated API limits are exceeded after one request (so one of
ubuntu/macos builders fails). Hopefully this works with authentication.
Link: https://raw.githubusercontent.com/torvalds/linux/refs/heads/master/usr/gen_init_cpio.c [0]
Link: https://github.com/orgs/community/discussions/146957 [1]
12 months ago
Tamir Duberstein
806783c0fc
Remove integration-ebp/rust-toolchain
...
Centralize the knowledge in build.rs instead.
1 year ago
Tamir Duberstein
fd00b39f09
Enable unwinding in userspace
...
Unwinding gives us more information, so we shouldn't disable it
globally. It is already disabled for BPF targets via the target configs
in rustc itself.
This complicates the clippy invocation somewhat, so put it in a shell
script for developer as well as CI use.
1 year ago
Tamir Duberstein
d92fc95c39
ci: remove cross toolchain
...
We aren't actually building for these targets, we only use this to pick
the set of generated definitions to use in BPF which is the true target.
1 year ago
dependabot[bot]
9e3de444ec
build(deps): bump DavidAnson/markdownlint-cli2-action
...
Bumps the github-actions group with 1 update: [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action ).
Updates `DavidAnson/markdownlint-cli2-action` from 17 to 18
- [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases )
- [Commits](https://github.com/davidanson/markdownlint-cli2-action/compare/v17...v18 )
---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Tamir Duberstein
08becfdfa8
ci: automatically open PRs to update public API
...
This is annoying and I'd like to stop doing it.
1 year ago
Tamir Duberstein
fbbc2ec050
ci: automatically download latest kernel revs
...
Let's get off the treadmill.
Switch (almost) all wget usages to curl.
1 year ago