@@ -8,7 +8,7 @@ permissions: read-all
88
99jobs :
1010 build_and_test_kde_setuptools :
11- name : Build packages with DPC++
11+ name : Build kde_setuptools with DPC++
1212 runs-on : Ubuntu-latest
1313
1414 steps :
@@ -40,22 +40,26 @@ jobs:
4040
4141 - name : Install dependencies
4242 run : |
43- conda install python=3.10 dpctl -c dppy/label/dev -c intel -c conda-forge --override-channels
44- pip install --no-cache-dir cython scikit-build pybind11 pytest cmake ninja
43+ source $CONDA/etc/profile.d/conda.sh
44+ conda create -n build_kde_setuptools python=3.10 dpctl -c dppy/label/dev -c intel -c conda-forge --override-channels
45+ conda activate build_kde_setuptools
46+ pip install --no-cache-dir cython pybind11 pytest cmake ninja
4547 conda list
4648
4749 - name : Build kde_setuptools
4850 run : |
4951 source /opt/intel/oneapi/setvars.sh
5052 export OCL_ICD_FILENAMES=libintelocl.so
5153 pushd kde_setuptools
54+ source $CONDA/etc/profile.d/conda.sh
55+ conda activate build_kde_setuptools
5256 python setup.py develop
5357 python -m pytest tests
5458 popd
5559
5660
5761 build_and_test_kde_skbuild :
58- name : Build packages with DPC++
62+ name : Build kde_skbuild with DPC++
5963 runs-on : Ubuntu-latest
6064
6165 steps :
8791
8892 - name : Install dependencies
8993 run : |
90- conda install python=3.10 dpctl -c dppy/label/dev -c intel -c conda-forge --override-channels
94+ source $CONDA/etc/profile.d/conda.sh
95+ conda create -n build_kde_skbuild python=3.10 dpctl -c dppy/label/dev -c intel -c conda-forge --override-channels
96+ conda activate build_kde_skbuild
9197 pip install --no-cache-dir cython scikit-build pybind11 pytest cmake ninja
9298 conda list
9399
96102 source /opt/intel/oneapi/setvars.sh
97103 export OCL_ICD_FILENAMES=libintelocl.so
98104 pushd kde_skbuild
105+ source $CONDA/etc/profile.d/conda.sh
106+ conda activate build_kde_skbuild
99107 CC=icx CXX=icpx python setup.py develop -G Ninja \
100108 -- -DCMAKE_VERBOSE_MAKEFILE=ON
101109 python -m pytest tests
0 commit comments