From c673be5a0954a4884b0312c34b2c0f2995e28cf8 Mon Sep 17 00:00:00 2001 From: zhangyuang Date: Fri, 13 Sep 2024 22:37:23 +0800 Subject: [PATCH] feat: add linux-arm-gnueabihf --- .cargo/Cross.toml | 2 ++ .github/workflows/CI.yml | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 .cargo/Cross.toml diff --git a/.cargo/Cross.toml b/.cargo/Cross.toml new file mode 100644 index 0000000..318b50d --- /dev/null +++ b/.cargo/Cross.toml @@ -0,0 +1,2 @@ + [target.armv7-unknown-linux-gnueabihf] + image = "ghcr.io/cross-rs/armv7-unknown-linux-gnueabihf:latest" \ No newline at end of file diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4b40f3d..c375dae 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -136,6 +136,9 @@ jobs: target: arm-unknown-linux-gnueabihf args: "--locked --release" strip: true + - name: Move gnuabihf + if: ${{ matrix.settings.target == 'arm-unknown-linux-gnueabihf' }} + run: mv target/rarm-unknown-linux-gnueabihf/release/ffi-rs ./ffi-rs.arm-unknown-linux-gnueabihf.node - name: Setup toolchain run: ${{ matrix.settings.setup }} if: ${{ matrix.settings.setup }}