Browse Source

Decreased the build time on the Linux CI.

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
pull/1146/head
Dimitar Dobrev 7 years ago
parent
commit
eaf6a8e450
  1. 2
      build/InstallMono.sh
  2. 4
      build/InstallNugets.sh
  3. 2
      build/RunTests.sh

2
build/InstallMono.sh

@ -7,5 +7,5 @@ elif [ "$OS" == "Linux" ]; then @@ -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

4
build/InstallNugets.sh

@ -1,3 +1,3 @@ @@ -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
unzip NUnit.Console-3.9.0.zip -d $BUILD_DIR/../deps/NUnit.Console-3.9.0

2
build/RunTests.sh

@ -2,4 +2,4 @@ set -e @@ -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

Loading…
Cancel
Save