From 9c3c640d2887f4db0f49e7b5728f5de09d4fd5f2 Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Fri, 12 Feb 2021 19:18:45 +0300 Subject: [PATCH] Update .vsts-ci.yml --- .vsts-ci.yml | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/.vsts-ci.yml b/.vsts-ci.yml index 188e7af422b7..3169d2a50280 100644 --- a/.vsts-ci.yml +++ b/.vsts-ci.yml @@ -138,6 +138,68 @@ jobs: - bash: $(Build.SourcesDirectory)/.ci/test.sh displayName: Test ########################################### +- job: QEMU_multiarch +########################################### + variables: + COMPILER: gcc + OS_NAME: 'linux' + PRODUCES_ARTIFACTS: 'true' + pool: + vmImage: ubuntu-latest + timeoutInMinutes: 120 + strategy: + matrix: + bdist: + TASK: bdist + ARCH: aarch64 + steps: + - script: | + sudo apt-get update + sudo apt-get install --no-install-recommends -y \ + binfmt-support \ + qemu \ + qemu-user \ + qemu-user-static + displayName: 'Install QEMU' + - script: | + docker run --rm --privileged multiarch/qemu-user-static --reset -p yes + displayName: 'Enable Docker multi-architecture support' + - script: | + export ROOT_DOCKER_FOLDER=/LightGBM + cat > docker.env < docker-script.sh <