Commit Graph

116 Commits (7e6e218b0ace9b3e6f765042ba53c3a4538a1310)

Author SHA1 Message Date
Quentin VIGNAUD 7e6e218b0a Merge branch 'main' into melodium_ci 3 weeks ago
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>
4 weeks 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 month 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.
1 month ago
Tamir Duberstein 2a33c642de
.github: remove push-to-fork
We need to create the fork first.
1 month ago
Tamir Duberstein b21284f36b .github: move permissions to workflow root 1 month ago
Tamir Duberstein a3282e1d14
.github: make minimally-authorized token
We only use this to download public repos.
1 month ago
Tamir Duberstein 9518ff8ca6
.github: use alls-green 1 month ago
Tamir Duberstein 5dd6d94342
.github: update reference
The referenced issue has hundreds of automated mentions, making it quite
hard to look at.
1 month 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.
1 month ago
Tamir Duberstein e2f09ac62f
.github: move comments to Brewfile
This is where the dependencies are.
1 month ago
Tamir Duberstein 7288a2b8da
.github: remove stale comment
GNU tar is not needed since 5f046899b5.
1 month ago
Tamir Duberstein 65865e8dfc
.github: disable macos-15-intel
These builds are timing out, see
https://github.com/actions/runner-images/issues/13277.
1 month ago
Tamir Duberstein 112ab47fcd
Add clippy coverage for doctests 1 month ago
Tamir Duberstein 4dc4a6ce08
.github: exercise targets for real 2 months ago
Quentin VIGNAUD ce814e6cb5 Enabling armv7 & aarch64 on same runner 2 months ago
Quentin VIGNAUD 07508484f6 Merge remote-tracking branch 'origin/main' into former_work 2 months ago
Quentin VIGNAUD 6670b34579 Test direct run 2 months 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.
2 months ago
Godones 4b4b9f83bd
enable bpf_target_arch = loongarch64
Signed-off-by: Godones <chenlinfeng25@outlook.com>
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
2 months ago
Quentin VIGNAUD 1b175704a0 Updating yaml 2 months ago
Quentin VIGNAUD 07ca2f0d50 Updating Mélodium version 2 months ago
Tamir Duberstein e3f69829de
.github: run old kernels first 2 months ago
Tamir Duberstein c7d4cd3943
ci: test against 5.10
This is the earliest LTS that still exists on debian mirrors.
2 months 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
Quentin VIGNAUD 53eb17c312 Reenabling contexts 2 months ago
Quentin VIGNAUD 4bace3c004 Check stuff 2 months ago
Quentin VIGNAUD 352fd1841a Use debug registry 2 months ago
Quentin VIGNAUD 06367700ea Trying stuff on Github 2 months ago
Quentin VIGNAUD 1973becce7 Fix token 3 months ago
Quentin VIGNAUD efa13eb84a Add pseudo-token 3 months ago
Quentin VIGNAUD b6edcc63db Fix tag 3 months ago
Quentin VIGNAUD 0f19b18c1e Trying direct run 3 months ago
Tamir Duberstein a2324e6e50
Add Brewfile 3 months ago
Quentin VIGNAUD 584584f557 Adding checkout 3 months ago
Quentin VIGNAUD 86818ce0d7 Trying fix 3 months ago
Quentin VIGNAUD 09ba8a2185 Trying first Mélodium CI impl 3 months ago
Tamir Duberstein d1fdbb9930
Update to macOS 15 (#1351) 3 months ago
Tamir Duberstein 222b2cb88f
.github: avoid spurious CI failures in forks
This spams my email every day.
4 months ago
Tamir Duberstein a01b1d8b76
.github: build bpf-linker with llvm-21 4 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 5 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.
5 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>
7 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 9 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>
9 months ago