Debian Codegraph @

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

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 set -euo pipefail
4
5 echoscip-shell system . . echo. "installing .Net SDK..."
6 wget https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
7 sudoscip-shell system . . sudo. dpkg -i packages-microsoft-prod.deb
8 sudoscip-shell system . . 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 echoscip-shell system . . 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 echoscip-shell system . . echo. "building runtime..."
18 dotnet build -c Release -f netstandard2.0 runtime/CSharp/src/Antlr4.csproj
19 echoscip-shell system . . echo. "done building runtime"