X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=scripts%2Fci%2Frun-jenkins.sh;h=cad6cecd676e4eedef9aefbf3617f12b2e803595;hb=28046216b275e698f7dfafc866ee39497223eb9f;hp=ab17183b1b0bf0a8d5cfc1565fbd926becb336bb;hpb=ead4213eaf3c49f11da1b433ec81e74349d56e4c;p=mono.git diff --git a/scripts/ci/run-jenkins.sh b/scripts/ci/run-jenkins.sh index ab17183b1b0..cad6cecd676 100755 --- a/scripts/ci/run-jenkins.sh +++ b/scripts/ci/run-jenkins.sh @@ -20,16 +20,16 @@ if [[ ${label} == 'osx-amd64' ]]; then EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --w if [[ ${label} == 'w32' ]]; then PLATFORM=Win32; EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --host=i686-w64-mingw32"; export MONO_EXECUTABLE="`cygpath -u ${WORKSPACE}\\\msvc\\\build\\\sgen\\\Win32\\\bin\\\Release\\\mono-sgen.exe`"; fi if [[ ${label} == 'w64' ]]; then PLATFORM=x64; EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --host=x86_64-w64-mingw32 --disable-boehm"; export MONO_EXECUTABLE="`cygpath -u ${WORKSPACE}\\\msvc\\\build\\\sgen\\\x64\\\bin\\\Release\\\mono-sgen.exe`"; fi -if [[ ${CI_TAGS} == *'mobile_static'* ]]; +if [[ ${CI_TAGS} == *'aot_only'* ]]; then - EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-runtime_preset=mobile_static"; + EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-runtime_preset=aot_only"; elif [[ ${CI_TAGS} == *'acceptance-tests'* ]]; then EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --prefix=${WORKSPACE}/tmp/mono-acceptance-tests --with-sgen-default-concurrent=yes"; -elif [[ ${label} != w* ]] && [[ ${label} != 'debian-ppc64el' ]] && [[ ${label} != 'centos-s390x' ]] && [[ ${CI_TAGS} != *'monolite'* ]]; +elif [[ ${label} != w* ]] && [[ ${label} != 'debian-8-ppc64el' ]] && [[ ${label} != 'centos-s390x' ]] && [[ ${CI_TAGS} != *'monolite'* ]]; then # Override the defaults to skip profiles - # only enable the mobile profiles and mobile_static on the main architectures + # only enable the mobile profiles and aot_only on the main architectures # only enable the concurrent collector by default on main unix archs EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-runtime_preset=all --with-sgen-default-concurrent=yes" fi @@ -38,6 +38,8 @@ if [ -x "/usr/bin/dpkg-architecture" ]; then EXTRA_CONF_FLAGS="$EXTRA_CONF_FLAGS --host=`/usr/bin/dpkg-architecture -qDEB_HOST_GNU_TYPE`" #force build arch = dpkg arch, sometimes misdetected + mkdir -p ~/.config/.mono/ + wget -qO- https://download.mono-project.com/test/new-certs.tgz| tar zx -C ~/.config/.mono/ fi @@ -54,7 +56,10 @@ fi if [[ ${CI_TAGS} == *'monolite'* ]]; then make get-monolite-latest; fi -${TESTCMD} --label=make --timeout=300m --fatal make -j4 -w V=1 +make_parallelism=-j4 +if [[ ${label} == 'debian-8-ppc64el' ]]; then make_parallelism=-j1; fi + +${TESTCMD} --label=make --timeout=300m --fatal make ${make_parallelism} -w V=1 if [[ ${CI_TAGS} == *'acceptance-tests'* ]]; then @@ -62,6 +67,9 @@ if [[ ${CI_TAGS} == *'acceptance-tests'* ]]; elif [[ ${CI_TAGS} == *'profiler-stress-tests'* ]]; then $(dirname "${BASH_SOURCE[0]}")/run-test-profiler-stress-tests.sh +elif [[ ${CI_TAGS} == *'no-tests'* ]]; + then + exit 0 else make check-ci fi