From eaf6a8e45091b053b54408569ef097ff7da52b90 Mon Sep 17 00:00:00 2001 From: Dimitar Dobrev Date: Fri, 21 Dec 2018 23:11:34 +0200 Subject: [PATCH] Decreased the build time on the Linux CI. Signed-off-by: Dimitar Dobrev --- build/InstallMono.sh | 2 +- build/InstallNugets.sh | 4 ++-- build/RunTests.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/InstallMono.sh b/build/InstallMono.sh index b0fc8114..37998da3 100755 --- a/build/InstallMono.sh +++ b/build/InstallMono.sh @@ -7,5 +7,5 @@ elif [ "$OS" == "Linux" ]; then sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list sudo apt-get update -qq - sudo apt-get install -y --force-yes mono-devel + sudo apt-get install -y --force-yes mono-mcs libmono-system-runtime4.0-cil fi \ No newline at end of file diff --git a/build/InstallNugets.sh b/build/InstallNugets.sh index 449bcf6c..47eb7b29 100755 --- a/build/InstallNugets.sh +++ b/build/InstallNugets.sh @@ -1,3 +1,3 @@ -wget https://nuget.org/nuget.exe +wget https://github.com/nunit/nunit-console/releases/download/v3.9/NUnit.Console-3.9.0.zip BUILD_DIR=$(dirname -- $0) -mono nuget.exe install NUnit.ConsoleRunner -Version 3.6.1 -OutputDirectory $BUILD_DIR/../deps \ No newline at end of file +unzip NUnit.Console-3.9.0.zip -d $BUILD_DIR/../deps/NUnit.Console-3.9.0 \ No newline at end of file diff --git a/build/RunTests.sh b/build/RunTests.sh index 4dae09c8..d2c52d5c 100755 --- a/build/RunTests.sh +++ b/build/RunTests.sh @@ -2,4 +2,4 @@ set -e BUILD_DIR=$(dirname -- $0) MONO_PATH=$BUILD_DIR/../deps/NUnit.ConsoleRunner.3.6.1/tools \ cp $BUILD_DIR/../deps/NUnit/nunit.framework.* $BUILD_DIR/gmake/lib/Release_*/ -mono $BUILD_DIR/../deps/NUnit.ConsoleRunner.3.6.1/tools/nunit3-console.exe -noresult $BUILD_DIR/gmake/lib/Release_*/*Tests*.dll +mono $BUILD_DIR/../deps/NUnit.Console-3.9.0/nunit3-console.exe -noresult $BUILD_DIR/gmake/lib/Release_*/*Tests*.dll