Skip to content

Commit

Permalink
add cross compiling tests from i686,armv7,arm
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-jq-b committed Sep 13, 2024
1 parent 5a3470e commit 00eba0c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ env:
CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER: riscv64-linux-gnu-gcc
CARGO_TARGET_POWERPC64LE_UNKNOWN_LINUX_GNU_LINKER: powerpc64le-linux-gnu-gcc
CARGO_TARGET_S390X_UNKNOWN_LINUX_GNU_LINKER: s390x-linux-gnu-gcc
CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER: arm-linux-gnueabihf-gcc
CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER: arm-linux-gnueabihf-gcc
CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABI_LINKER: arm-linux-gnueabi-gcc
CARGO_TARGET_I686_UNKNOWN_LINUX_GNU_LINKER: i686-linux-gnu-gcc

jobs:
build:
Expand All @@ -38,10 +42,26 @@ jobs:
rustc: x86_64-pc-windows-gnu,
gcc: gcc-mingw-w64-x86-64,
},
{
rustc: i686-unknown-linux-gnu,
gcc: gcc-i686-linux-gnu,
},
{
rustc: aarch64-unknown-linux-gnu,
gcc: gcc-aarch64-linux-gnu,
},
{
rustc: armv7-unknown-linux-gnueabihf,
gcc: gcc-arm-linux-gnueabihf,
},
{
rustc: arm-unknown-linux-gnueabihf,
gcc: gcc-arm-linux-gnueabihf,
},
{
rustc: arm-unknown-linux-gnueabi,
gcc: gcc-arm-linux-gnueabi,
},
{
rustc: riscv64gc-unknown-linux-gnu,
gcc: gcc-riscv64-linux-gnu,
Expand Down

0 comments on commit 00eba0c

Please sign in to comment.