Apply a handful of changes to reduce the diff between the two: * Cancel running jobs on new pushes * Enable log color and backtraces * Add timeouts * Specify CI runner versions * Add an armv7 job * Replace the name NO_STD with BUILD_ONLY * Update the extension to the canonical .yaml * Set AR_ and CC_ environments in docker * Install requirements to build MPFR
16 lines
577 B
Docker
16 lines
577 B
Docker
ARG IMAGE=ubuntu:24.04
|
|
FROM $IMAGE
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
gcc libc6-dev ca-certificates \
|
|
gcc-arm-linux-gnueabi libc6-dev-armel-cross qemu-user-static
|
|
|
|
ENV TOOLCHAIN_PREFIX=arm-linux-gnueabi-
|
|
ENV CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABI_LINKER="$TOOLCHAIN_PREFIX"gcc \
|
|
CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABI_RUNNER=qemu-arm-static \
|
|
AR_arm_unknown_linux_gnueabi="$TOOLCHAIN_PREFIX"ar \
|
|
CC_arm_unknown_linux_gnueabi="$TOOLCHAIN_PREFIX"gcc \
|
|
QEMU_LD_PREFIX=/usr/arm-linux-gnueabi \
|
|
RUST_TEST_THREADS=1
|