1FROM debian:buster-slim 2RUN apt-get update && apt-get install -y gcc-8-mipsel-linux-gnu g++-8-mipsel-linux-gnu qemu-user-static cmake binfmt-support 3COPY . /simde 4WORKDIR /simde 5RUN mkdir -p test/build_mipsel 6WORKDIR /simde/test/build_mipsel 7RUN CC=/usr/bin/mipsel-linux-gnu-gcc-8 CXX=/usr/bin/mipsel-linux-gnu-g++-8 cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_C_FLAGS="-Wall -Wextra -Werror" -DCMAKE_CXX_FLAGS="-Wall -Wextra -Werror" ../ && \ 8 make -j$(nproc) 9RUN QEMU_LD_PREFIX=/usr/mipsel-linux-gnu/ /usr/bin/qemu-mipsel-static ./run-tests 10