Skip to content

Commit

Permalink
use debian container to run cross compiling and add loongarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-jq-b committed Dec 23, 2024
1 parent 51642fa commit 0d6c569
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ 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_LOONGARCH64_UNKNOWN_LINUX_GNU_LINKER: loongarch64-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
Expand All @@ -31,6 +32,7 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
container: debian:sid
strategy:
matrix:
target: [
Expand Down Expand Up @@ -70,6 +72,10 @@ jobs:
rustc: s390x-unknown-linux-gnu,
gcc: gcc-s390x-linux-gnu,
},
{
rustc: loongarch64-unknown-linux-gnu,
gcc: gcc-loongarch64-linux-gnu,
},
]
steps:
- name: Checkout sources
Expand Down

0 comments on commit 0d6c569

Please sign in to comment.