• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3CONFIG=Release
4SRC=$(dirname $0)/src
5
6set -ex
7
8echo Building relevant projects.
9dotnet build -c $CONFIG $SRC/Google.Protobuf $SRC/Google.Protobuf.Test $SRC/Google.Protobuf.Conformance
10
11echo Running tests.
12# Only test netcoreapp1.0, which uses the .NET Core runtime.
13# If we want to test the .NET 4.5 version separately, we could
14# run Mono explicitly. However, we don't have any differences between
15# the .NET 4.5 and netstandard1.0 assemblies.
16dotnet test -c $CONFIG -f netcoreapp1.0 $SRC/Google.Protobuf.Test
17