@ -71,10 +71,9 @@ jobs:
strategy:
strategy:
fail-fast : false
fail-fast : false
matrix:
matrix:
bpf_target_ arch:
arch:
- aarch64-unknown-linux-gnu
- aarch64-unknown-linux-gnu
- armv7-unknown-linux-gnueabi
- armv7-unknown-linux-gnueabi
- mips-unknown-linux-gnu
- powerpc64le-unknown-linux-gnu
- powerpc64le-unknown-linux-gnu
- riscv64gc-unknown-linux-gnu
- riscv64gc-unknown-linux-gnu
- s390x-unknown-linux-gnu
- s390x-unknown-linux-gnu
@ -84,11 +83,18 @@ jobs:
- uses : actions/checkout@v4
- uses : actions/checkout@v4
- uses : dtolnay/rust-toolchain@stable
- uses : dtolnay/rust-toolchain@stable
with:
targets : ${{ matrix.arch }}
- uses : Swatinem/rust-cache@v2
- uses : Swatinem/rust-cache@v2
- uses : taiki-e/install-action@cargo-hack
- uses : taiki-e/install-action@cargo-hack
# This is magic, it sets `$CARGO_BUILD_TARGET`.
- uses : taiki-e/setup-cross-toolchain-action@v1
with:
target : ${{ matrix.arch }}
- name : Build
- name : Build
run : |
run : |
set -euxo pipefail
set -euxo pipefail
@ -97,6 +103,7 @@ jobs:
--exclude aya-ebpf-bindings \
--exclude aya-ebpf-bindings \
--exclude aya-log-ebpf \
--exclude aya-log-ebpf \
--exclude integration-ebpf \
--exclude integration-ebpf \
--exclude xtask \
--workspace
--workspace
- name : Test
- name : Test
@ -110,6 +117,7 @@ jobs:
--exclude aya-log-ebpf \
--exclude aya-log-ebpf \
--exclude integration-ebpf \
--exclude integration-ebpf \
--exclude integration-test \
--exclude integration-test \
--exclude xtask \
--workspace
--workspace
- name : Doctests
- name : Doctests
@ -124,6 +132,7 @@ jobs:
--exclude init \
--exclude init \
--exclude integration-ebpf \
--exclude integration-ebpf \
--exclude integration-test \
--exclude integration-test \
--exclude xtask \
--workspace
--workspace
build-test-aya-ebpf:
build-test-aya-ebpf: