Support bpf-linker (#1950)

This commit is contained in:
Taiki Endo
2026-07-23 22:13:22 +09:00
committed by GitHub
parent 05a01b63a2
commit 20d0440ac8
6 changed files with 98 additions and 7 deletions
+4 -4
View File
@@ -119,15 +119,15 @@ case "$(uname -s)" in
if ! type -P snap >/dev/null; then
incompat_tools+=(valgrind)
fi
if ! type -P apt-get >/dev/null; then
incompat_tools+=(cyclonedx)
fi
if [[ "${runner}" == 'ubuntu:14.04' ]]; then
if ! type -P apt-get >/dev/null || [[ "${runner}" == 'ubuntu:14.04' ]]; then
incompat_tools+=(cyclonedx)
fi
if [[ "${runner}" == 'almalinux:10'* ]]; then
incompat_tools+=(cargo-deb) # no dpkg in package manager
fi
case "${runner}" in
debian/eol:jessie-slim | ubuntu:14.04 | alpine:3.2) incompat_tools+=(bpf-linker) ;; # no zstd in package manager
esac
;;
Darwin)
host_os=macos
+20
View File
@@ -0,0 +1,20 @@
{
"repository": "https://github.com/aya-rs/bpf-linker",
"license_markdown": "[Apache-2.0](https://github.com/aya-rs/bpf-linker/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/aya-rs/bpf-linker/blob/main/LICENSE-MIT)",
"tag_prefix": "v",
"version_range": ">= 0.10.4",
"rust_crate": "${package}",
"asset_name": "${package}-${rust_target}.tar.zst",
"platform": {
"x86_64_linux_musl": {},
"x86_64_macos": {},
"x86_64_windows": {
"asset_name": "${package}-${rust_target_arch}-pc-windows-gnullvm.tar.zst"
},
"aarch64_linux_musl": {},
"aarch64_macos": {},
"aarch64_windows": {
"asset_name": "${package}-${rust_target_arch}-pc-windows-gnullvm.tar.zst"
}
}
}