Skip to content

Commit 46cbaa7

Browse files
committed
Install .NET CORE
1 parent 1c56508 commit 46cbaa7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.azure-pipelines/build-template.yml

+9
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
displayName: "Compile sonic swss common with coverage enabled"
5959
- ${{ if eq(parameters.run_unit_test, true) }}:
6060
- script: |
61+
set -ex
6162
sudo pip install Pympler==0.8
6263
sudo apt-get install -y redis-server
6364
sudo sed -i 's/notify-keyspace-events ""/notify-keyspace-events AKE/' /etc/redis/redis.conf
@@ -79,6 +80,14 @@ jobs:
7980
- publish: $(System.DefaultWorkingDirectory)/
8081
artifact: ${{ parameters.artifact_name }}
8182
displayName: "Archive swss common debian packages"
83+
- script: |
84+
set -ex
85+
# Install .NET CORE
86+
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
87+
sudo apt-add-repository https://packages.microsoft.com/debian/10/prod
88+
sudo apt-get update
89+
sudo apt-get install -y dotnet-sdk-5.0
90+
displayName: "Install .NET CORE"
8291
- task: PublishCodeCoverageResults@1
8392
inputs:
8493
codeCoverageTool: Cobertura

0 commit comments

Comments
 (0)