File tree 2 files changed +16
-0
lines changed
ci/docker/riscv64gc-unknown-linux-gnu
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 61
61
- target : powerpc64le-unknown-linux-gnu
62
62
os : ubuntu-latest
63
63
rust : nightly
64
+ - target : riscv64gc-unknown-linux-gnu
65
+ os : ubuntu-latest
66
+ rust : nightly
64
67
- target : thumbv6m-none-eabi
65
68
os : ubuntu-latest
66
69
rust : nightly
Original file line number Diff line number Diff line change
1
+ ARG IMAGE=ubuntu:24.04
2
+ FROM $IMAGE
3
+
4
+ RUN apt-get update && \
5
+ apt-get install -y --no-install-recommends \
6
+ gcc libc6-dev qemu-user-static ca-certificates \
7
+ gcc-riscv64-linux-gnu libc6-dev-ppc64el-cross \
8
+ qemu-system-riscv64
9
+
10
+ ENV CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER=riscv64-linux-gnu-gcc \
11
+ CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_RUNNER=qemu-riscv64-static \
12
+ QEMU_LD_PREFIX=/usr/riscv64-linux-gnu \
13
+ RUST_TEST_THREADS=1
You can’t perform that action at this time.
0 commit comments