Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit f4c65b5

Browse files
heihertgross35
authored andcommitted
ci: add support for loongarch64-unknown-linux-gnu
1 parent 09dd0c8 commit f4c65b5

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
os: ubuntu-latest
3333
- target: i686-unknown-linux-gnu
3434
os: ubuntu-latest
35+
- target: loongarch64-unknown-linux-gnu
36+
os: ubuntu-latest
3537
- target: powerpc-unknown-linux-gnu
3638
os: ubuntu-latest
3739
- target: powerpc64-unknown-linux-gnu
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM ubuntu:24.04
2+
3+
RUN apt-get update && \
4+
apt-get install -y --no-install-recommends \
5+
gcc libc6-dev qemu-user-static ca-certificates \
6+
gcc-14-loongarch64-linux-gnu libc6-dev-loong64-cross
7+
8+
ENV CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_GNU_LINKER=loongarch64-linux-gnu-gcc-14 \
9+
CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_GNU_RUNNER=qemu-loongarch64-static \
10+
AR_loongarch64_unknown_linux_gnu=loongarch64-linux-gnu-ar \
11+
CC_loongarch64_unknown_linux_gnu=loongarch64-linux-gnu-gcc-14 \
12+
QEMU_LD_PREFIX=/usr/loongarch64-linux-gnu \
13+
RUST_TEST_THREADS=1

0 commit comments

Comments
 (0)