Skip to content

Commit 9e376af

Browse files
authored
Install libyang in azure pipeline. (sonic-net#2445)
#### Why I did it sonic-swss-common lib will add depency to libyang, so need install libyang lib to prevent build and UT break. #### How I did it Modify azure pipeline to install libyang in azure pipeline steps. #### How to verify it Pass all UT. #### Which release branch to backport (provide reason below if selected) #### Description for the changelog Modify azure pipeline to install libyang in azure pipeline steps. #### Link to config_db schema for YANG module changes #### A picture of a cute animal (not mandatory but encouraged)
1 parent c1eb99a commit 9e376af

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.azure-pipelines/build-template.yml

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ jobs:
121121
target/debs/buster/libnl-route-3-dev_*.deb
122122
target/debs/buster/libnl-nf-3-200_*.deb
123123
target/debs/buster/libnl-nf-3-dev_*.deb
124+
target/debs/buster/libyang_*.deb
124125
displayName: "Download common libs"
125126
- script: |
126127
set -ex

.azure-pipelines/test-docker-sonic-vs-template.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
set -ex
4949
sudo .azure-pipelines/build_and_install_module.sh
5050
51-
sudo apt-get install -y libhiredis0.14
51+
sudo apt-get install -y libhiredis0.14 libyang0.16
5252
sudo dpkg -i --force-confask,confnew $(Build.ArtifactStagingDirectory)/download/libswsscommon_1.0.0_amd64.deb || apt-get install -f
5353
sudo dpkg -i $(Build.ArtifactStagingDirectory)/download/python3-swsscommon_1.0.0_amd64.deb
5454

0 commit comments

Comments
 (0)