From 9e3758768fd4d6508b1411f793d1ec1e0a194d26 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Mon, 14 Dec 2020 11:07:00 +0200 Subject: [PATCH] ci,azure-pipelines: add ARM{64} Debian Buster builds These ARM builds should work also on Raspberry Pi (starting with Raspbian Buster). These packages should install on newer (than Buster) Debian versions as well. Tested on a Raspbian that the libiio deb package installs and iio_info runs, and iiod starts (even though is started manually, but this requires some more work for packaging the service installation). Signed-off-by: Alexandru Ardelean --- CI/travis/before_install_linux | 4 ++++ CI/travis/make_linux | 4 ++++ azure-pipelines.yml | 10 ++++++++++ 3 files changed, 18 insertions(+) diff --git a/CI/travis/before_install_linux b/CI/travis/before_install_linux index 413bd2e4b..fbb3109a1 100755 --- a/CI/travis/before_install_linux +++ b/CI/travis/before_install_linux @@ -107,6 +107,10 @@ handle_default() { fi } +handle_debian() { + handle_default +} + setup_build_type_env_vars handle_${BUILD_TYPE} diff --git a/CI/travis/make_linux b/CI/travis/make_linux index 17cbe6854..435151748 100755 --- a/CI/travis/make_linux +++ b/CI/travis/make_linux @@ -103,6 +103,10 @@ handle_centos() { cd .. } +handle_debian() { + handle_default +} + handle_generic_docker() { run_docker_script inside_docker.sh } diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6c4b81338..448acb4ca 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -33,6 +33,16 @@ jobs: imageName: 'ubuntu-20.04' artifactName: 'Linux-Ubuntu-20.04-x86_64' CHECK_AGAINST_KERNEL_HEADER: 1 + debian_buster_arm32v7: + imageName: 'ubuntu-latest' + OS_TYPE: 'arm32v7/debian_docker' + OS_VERSION: 'buster' + artifactName: 'Linux-Debian-Buster-ARM' + debian_buster_arm64v8: + imageName: 'ubuntu-latest' + OS_TYPE: 'arm64v8/debian_docker' + OS_VERSION: 'buster' + artifactName: 'Linux-Debian-Buster-ARM64' pool: vmImage: $(imageName) steps: