From 1495a93c45403550d6a1c9f21f3f3e24da1398a5 Mon Sep 17 00:00:00 2001 From: Dave Tucker Date: Fri, 31 Jan 2025 18:08:20 +0000 Subject: [PATCH] ci: Include mips architecture in tests Signed-off-by: Dave Tucker --- .cargo/config.toml | 3 +++ .github/workflows/ci.yml | 2 ++ Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 674071ff..a21a5f44 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -15,3 +15,6 @@ linker = "powerpc64le-linux-gnu-gcc" [target.s390x-unknown-linux-gnu] linker = "s390x-linux-gnu-gcc" + +[target.mips-unknown-linux-gnu] +linker = "mips-linux-gnu-gcc" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index efbd8950..dd8942eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,6 +83,7 @@ jobs: - riscv64gc-unknown-linux-gnu - powerpc64le-unknown-linux-gnu - s390x-unknown-linux-gnu + - mips-unknown-linux-gnu runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -141,6 +142,7 @@ jobs: - riscv64 - powerpc64 - s390x + - mips target: - bpfel-unknown-none - bpfeb-unknown-none diff --git a/Cargo.toml b/Cargo.toml index ae881f36..6809beaa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,7 +44,7 @@ default-members = [ # ebpf crates are omitted; they must be built with: # --target bpfe{b,l}-unknown-none - # CARGO_CFG_BPF_TARGET_ARCH={x86_64,aarch64,arm,riscv64,powerpc64,s390x} + # CARGO_CFG_BPF_TARGET_ARCH={x86_64,aarch64,arm,riscv64,powerpc64,s390x,mips} ] [workspace.package]