Debian Codegraph @

.circleci/scripts/install-linux-dotnet.sh

raw symbols SCIP
1 #!/bin/bash
2
3 set -euo pipefail
4
5 echo "installing .Net SDK..."
6 wget https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
7 sudo dpkg -i packages-microsoft-prod.deb
8 sudo apt-get update; \
9 sudo apt-get install -y apt-transport-https && \
10 sudo apt-get update && \
11 sudo apt-get install -y dotnet-sdk-3.1
12 export PATH=$PATH:~/.dotnet
13 echo "done installing .Net SDK"
14
15 # we need to build the runtime before test run, since we used "--no-dependencies"
16 # when we call dotnet cli for restore and build, in order to speed up
17 echo "building runtime..."
18 dotnet build -c Release -f netstandard2.0 runtime/CSharp/src/Antlr4.csproj
19 echo "done building runtime"