File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -393,7 +393,7 @@ jobs:
393
393
conda install -n examples -y ninja $CHANNELS || exit 1
394
394
conda install -n examples -y pybind11 cython scikit-build $CHANNELS || exit 1
395
395
conda install -n examples -y mkl-dpcpp mkl-devel-dpcpp dpcpp_cpp_rt $CHANNELS || exit 1
396
- conda create -y -n build_env -c intel dpcpp_linux-64
396
+ conda create -y -n build_env -c intel gcc_linux-64 gxx_linux-64 dpcpp_linux-64
397
397
- name : Install dpctl
398
398
shell : bash -l {0}
399
399
run : |
@@ -424,7 +424,7 @@ jobs:
424
424
-DMKL_INCLUDE_DIR=${MKLROOT}/include \
425
425
-DTBB_INCLUDE_DIR=${TBBROOT}/include || exit 1
426
426
else
427
- CC=dpcpp CXX=dpcpp LD_SHARED ="dpcpp -shared" \
427
+ CC=dpcpp CXX=dpcpp LDSHARED ="dpcpp -shared" \
428
428
python setup.py build_ext --inplace || exit 1
429
429
fi
430
430
conda deactivate
@@ -441,12 +441,22 @@ jobs:
441
441
do
442
442
pushd $d
443
443
conda activate --stack build_env
444
- CC=dpcpp CXX=dpcpp LD_SHARED ="dpcpp -shared" \
444
+ CC=dpcpp CXX=dpcpp LDSHARED ="dpcpp -shared" \
445
445
python setup.py build_ext --inplace || exit 1
446
446
conda deactivate
447
447
LD_LIBRARY_PATH=${CONDA_PREFIX}/lib python run.py || exit 1
448
448
popd
449
449
done
450
+ cd ../c
451
+ for d in $(ls)
452
+ do
453
+ pushd $d
454
+ conda activate --stack build_env
455
+ python setup.py build_ext --inplace || exit 1
456
+ conda deactivate
457
+ python -m pytest tests || exit 1
458
+ popd
459
+ done
450
460
- name : Run Python examples
451
461
shell : bash -l {0}
452
462
run : |
You can’t perform that action at this time.
0 commit comments