[AzurePipeline] Fix vstest step failed by libyang missing. (#12240)
Why I did it Fix PR merge failed because 'vstest' step does not install libyang. How I did it Install libyang in azure pipeline. How to verify it Pass vstest step.
This commit is contained in:
parent
eea8ebd0a9
commit
004a8b6eae
@ -113,6 +113,8 @@ stages:
|
|||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -x
|
set -x
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install libyang0.16 -y
|
||||||
sudo dpkg -i --force-confask,confnew ../libswsscommon_1.0.0_amd64.deb
|
sudo dpkg -i --force-confask,confnew ../libswsscommon_1.0.0_amd64.deb
|
||||||
sudo dpkg -i ../python3-swsscommon_1.0.0_amd64.deb
|
sudo dpkg -i ../python3-swsscommon_1.0.0_amd64.deb
|
||||||
sudo docker load -i ../target/docker-sonic-vs.gz
|
sudo docker load -i ../target/docker-sonic-vs.gz
|
||||||
|
Reference in New Issue
Block a user