From d0c530d097792158e5fb44881d83da4a237fa203 Mon Sep 17 00:00:00 2001 From: liuh-80 Date: Fri, 9 Sep 2022 07:20:27 +0000 Subject: [PATCH] Install libyang in azure pipeline. --- .azure-pipelines/build-template.yml | 1 + .azure-pipelines/test-docker-sonic-vs-template.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.azure-pipelines/build-template.yml b/.azure-pipelines/build-template.yml index f8040bca56..67127f33da 100644 --- a/.azure-pipelines/build-template.yml +++ b/.azure-pipelines/build-template.yml @@ -121,6 +121,7 @@ jobs: target/debs/buster/libnl-route-3-dev_*.deb target/debs/buster/libnl-nf-3-200_*.deb target/debs/buster/libnl-nf-3-dev_*.deb + target/debs/buster/libyang_*.deb displayName: "Download common libs" - script: | set -ex diff --git a/.azure-pipelines/test-docker-sonic-vs-template.yml b/.azure-pipelines/test-docker-sonic-vs-template.yml index 2dc8e3c567..d3f31d6e43 100644 --- a/.azure-pipelines/test-docker-sonic-vs-template.yml +++ b/.azure-pipelines/test-docker-sonic-vs-template.yml @@ -48,7 +48,7 @@ jobs: set -ex sudo .azure-pipelines/build_and_install_module.sh - sudo apt-get install -y libhiredis0.14 + sudo apt-get install -y libhiredis0.14 libyang0.16 sudo dpkg -i --force-confask,confnew $(Build.ArtifactStagingDirectory)/download/libswsscommon_1.0.0_amd64.deb || apt-get install -f sudo dpkg -i $(Build.ArtifactStagingDirectory)/download/python3-swsscommon_1.0.0_amd64.deb