From 7c5fe5f98f0065d6acf994cfffd461b82721aaee Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Thu, 31 Aug 2023 21:14:00 +0300 Subject: [PATCH] CI configuration update (#2489) * Enable n_jobs for make calls in testing * Update python testing * Remove duplicate n_jobs --- .ci/pipeline/ci.yml | 8 +++----- .ci/scripts/test.sh | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.ci/pipeline/ci.yml b/.ci/pipeline/ci.yml index 4706a2514c2..5e65fed6b14 100755 --- a/.ci/pipeline/ci.yml +++ b/.ci/pipeline/ci.yml @@ -313,8 +313,8 @@ jobs: maxParallel: 2 strategy: matrix: - Python38: - python.version: '3.8' + Python311: + python.version: '3.11' steps: - task: DownloadPipelineArtifact@2 inputs: @@ -327,7 +327,7 @@ jobs: displayName: 'System info' - script: | conda update -y -q conda - conda create -q -y -n CB -c intel python=$(python.version) tbb + conda create -q -y -n CB -c intel python=$(python.version) tbb mpich displayName: 'Conda create' - script: | git clone https://github.com/intel/scikit-learn-intelex.git daal4py @@ -344,7 +344,6 @@ jobs: export DALROOT=$(Pipeline.Workspace)/daal/latest source ${DALROOT}/env/vars.sh cd daal4py - export NO_DIST=1 export PYTHON=python ./conda-recipe/build.sh displayName: daal4py build @@ -365,7 +364,6 @@ jobs: source /usr/share/miniconda/etc/profile.d/conda.sh conda activate CB source $(Pipeline.Workspace)/daal/latest/env/vars.sh - export NO_DIST=1 ./daal4py/conda-recipe/run_test.sh timeoutInMinutes: 15 displayName: daal4py test diff --git a/.ci/scripts/test.sh b/.ci/scripts/test.sh index 4033e44860c..9aa0ed3ca23 100755 --- a/.ci/scripts/test.sh +++ b/.ci/scripts/test.sh @@ -166,7 +166,7 @@ for link_mode in ${link_modes}; do TESTING_RETURN=${err} continue fi - make -C Build + make ${make_op} -C Build err=$? if [ ${err} -ne 0 ]; then echo -e "$(date +'%H:%M:%S') BUILD FAILED\t\t"