浏览代码

ci: Include mips architecture in tests

Signed-off-by: Dave Tucker <[email protected]>
Dave Tucker 1 月之前
父节点
当前提交
1495a93c45
共有 3 个文件被更改,包括 6 次插入1 次删除
  1. 3 0
      .cargo/config.toml
  2. 2 0
      .github/workflows/ci.yml
  3. 1 1
      Cargo.toml

+ 3 - 0
.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"

+ 2 - 0
.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

+ 1 - 1
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]