12add0d91Sopenharmony_ciFROM ubuntu:22.04
22add0d91Sopenharmony_ci
32add0d91Sopenharmony_ciRUN apt-get update && apt-get install -y --no-install-recommends \
42add0d91Sopenharmony_ci        gcc libc6-dev qemu-user ca-certificates \
52add0d91Sopenharmony_ci        gcc-mips-linux-gnu libc6-dev-mips-cross \
62add0d91Sopenharmony_ci        qemu-system-mips linux-headers-generic
72add0d91Sopenharmony_ci
82add0d91Sopenharmony_ciENV CARGO_TARGET_MIPS_UNKNOWN_LINUX_GNU_LINKER=mips-linux-gnu-gcc \
92add0d91Sopenharmony_ci    CARGO_TARGET_MIPS_UNKNOWN_LINUX_GNU_RUNNER="qemu-mips -L /usr/mips-linux-gnu" \
102add0d91Sopenharmony_ci    PATH=$PATH:/rust/bin
11