azure-pipelines: add commented out loongson build
It is currently failing due to an inability to install
libgcc-s1:mips64el (a dependency of libc6:mips64el).  This may just be
a temporary failure since the same commands are working on a sid VM,
but I'm not certain.
@@ -46,3 +46,24 @@ jobs:
displayName: Build
- script: ninja -C build -v test
displayName: Test
+
+# - job: loongson3a
+# container:
+# image: debian:unstable
+# options: "--name ci-container -v /usr/bin/docker:/tmp/docker:ro"
+# steps:
+# # https://github.com/Microsoft/azure-pipelines-agent/issues/2043
+# - script: /tmp/docker exec -t -u 0 ci-container sh -c "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" -y install sudo"
+# displayName: 'Install Sudo in container'
+# - script: uname -a && cat /proc/cpuinfo /proc/meminfo
+# displayName: System Information
+# - script: sudo dpkg --add-architecture mips64el && sudo apt-get update && sudo apt-get install -y ninja-build ninja-build python3-pip python3-setuptools python3-wheel libc6:mips64el gcc-10-mips64el-linux-gnuabi64 g++-10-mips64el-linux-gnuabi64 qemu-user-static
+# displayName: Install APT Dependencies
+# - script: pip3 install meson
+# displayName: Install pip Dependencies
+# - script: /home/vsts/.local/bin/meson setup build --cross-file=docker/cross-files/loongson-gcc-10.cross
+# displayName: Configure
+# - script: ninja -C build -v
+# displayName: Build
+# - script: ninja -C build -v test
+# displayName: Test
