mirror of
https://github.com/aya-rs/aya.git
synced 2026-03-03 18:23:55 +01:00
Add integration tests to verify that btf_maps generated with the generalized btf_map_def macro are compatible with libbpf's bpf_map_def. Also add CI infrastructure for macOS cross-compilation to Linux musl, including stub headers and autoconf cache variables for libbpf-sys vendored dependencies.
27 lines
769 B
Ruby
27 lines
769 B
Ruby
# Keep this congruent with `.github/workflows/ci.yml`.
|
|
|
|
# The curl shipped on macOS doesn't contain
|
|
# https://github.com/curl/curl/commit/85efbb92b8e6679705e122cee45ce76c56414a3e
|
|
# which is needed for proper handling of `--etag-{compare,save}`.
|
|
brew "curl"
|
|
|
|
# The clang shipped on macOS doesn't support BPF, so we need LLVM from brew.
|
|
brew "llvm"
|
|
|
|
brew "lynx"
|
|
brew "pkg-config"
|
|
brew "qemu"
|
|
|
|
# Required by libbpf-sys vendored dependencies.
|
|
brew "autoconf"
|
|
brew "automake"
|
|
brew "gawk"
|
|
|
|
# macOS provides only dynamic zlib. Install the static one.
|
|
brew "zlib"
|
|
|
|
# We need a musl C toolchain to compile our `test-distro` since some of our
|
|
# dependencies have build scripts that compile C code (i.e xz2).
|
|
tap "filosottile/musl-cross"
|
|
brew "filosottile/musl-cross/musl-cross"
|