.github: exercise targets for real

reviewable/pr1380/r7
Tamir Duberstein 6 days ago
parent 3a3c451009
commit 4dc4a6ce08
No known key found for this signature in database

@ -178,9 +178,8 @@ jobs:
for target in bpfeb-unknown-none bpfel-unknown-none; do for target in bpfeb-unknown-none bpfel-unknown-none; do
echo "::group::Build and test for $arch / $target" echo "::group::Build and test for $arch / $target"
if ! ( if ! (
export CARGO_CFG_BPF_TARGET_ARCH="$arch"
cargo +nightly hack build \ RUSTFLAGS="--cfg bpf_target_arch=\"$arch\"" cargo +nightly hack build \
--target "$target" \ --target "$target" \
-Z build-std=core \ -Z build-std=core \
--package aya-ebpf \ --package aya-ebpf \

Loading…
Cancel
Save