Skip to content

Commit

Permalink
CI configuration update (#2489)
Browse files Browse the repository at this point in the history
* Enable n_jobs for make calls in testing

* Update python testing

* Remove duplicate n_jobs
  • Loading branch information
Alexsandruss authored Aug 31, 2023
1 parent b864740 commit 7c5fe5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .ci/pipeline/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@ jobs:
maxParallel: 2
strategy:
matrix:
Python38:
python.version: '3.8'
Python311:
python.version: '3.11'
steps:
- task: DownloadPipelineArtifact@2
inputs:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .ci/scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7c5fe5f

Please sign in to comment.