2828 WINDOWS_ICPX_DOWNLOAD_LINK : https://registrationcenter-download.intel.com/akdlm/IRC_NAS/dc2bc071-6e5c-4b48-8fdd-a39d20c25e5a/intel-dpcpp-cpp-compiler-2025.2.0.528_offline.exe
2929 WINDOWS_ONEAPI_PATH : C:\Program Files (x86)\Intel\oneAPI
3030 LINUX_ONEAPI_PATH : /opt/intel/oneapi
31+ VS2022_PATH : C:\Program Files\Microsoft Visual Studio\2022\Enterprise
3132
3233concurrency :
3334 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -146,6 +147,12 @@ jobs:
146147 build_type : RelWithAsserts
147148 backend : omp
148149 device_type : HOST
150+ - os : ubuntu-latest
151+ cxx_compiler : g++
152+ std : 20
153+ build_type : RelWithAsserts
154+ backend : serial
155+ device_type : HOST
149156 steps :
150157 - uses : actions/checkout@v4
151158 - name : Set up Intel APT repository
@@ -203,9 +210,14 @@ jobs:
203210 ctest --timeout ${TEST_TIMEOUT} --output-on-failure |& tee ctest.log
204211 done
205212
206- #set targets to just sycl iterator for dpcpp tests
207- make_targets="build-onedpl-sycl_iterator-tests build-onedpl-ranges-tests build-onedpl-implementation_details-tests"
208- ctest_flags="-R (sycl_iterator_.*)|(std_ranges_.*)|(device_copyable)\.pass"
213+ # set targets for dpcpp tests
214+ make_targets="build-onedpl-general-tests build-onedpl-sycl_iterator-tests build-onedpl-implementation_details-tests"
215+ tests_regex="(sycl_iterator_.*)|(device_copyable)|(dpl_namespace)|(test_policies)|(lambda_naming)"
216+ if [[ "${{ matrix.device_type }}" != "FPGA_EMU" ]]; then
217+ make_targets+=" build-onedpl-ranges-tests"
218+ tests_regex+="|(std_ranges_.*)"
219+ fi
220+ ctest_flags="-R ${tests_regex}\.pass"
209221 else
210222 make_targets="build-onedpl-tests"
211223 fi
@@ -268,6 +280,24 @@ jobs:
268280 build_type : release
269281 backend : dpcpp
270282 device_type : CPU
283+ - os : windows-latest
284+ cxx_compiler : cl
285+ std : 20
286+ build_type : RelWithAsserts
287+ backend : serial
288+ device_type : HOST
289+ - os : windows-latest
290+ cxx_compiler : icx-cl
291+ std : 20
292+ build_type : RelWithAsserts
293+ backend : tbb
294+ device_type : HOST
295+ - os : windows-latest
296+ cxx_compiler : icx
297+ std : 20
298+ build_type : RelWithAsserts
299+ backend : dpcpp
300+ device_type : CPU
271301 steps :
272302 - uses : actions/checkout@v4
273303 - name : Install Intel® oneAPI Threading Building Blocks
@@ -291,6 +321,12 @@ jobs:
291321 run : |
292322 if exist "%WINDOWS_ONEAPI_PATH%\setvars.bat" (
293323 call "%WINDOWS_ONEAPI_PATH%\setvars.bat"
324+ ) else (
325+ if exist "%VS2022_PATH%\VC\Auxiliary\Build\vcvarsall.bat" (
326+ call "%VS2022_PATH%\VC\Auxiliary\Build\vcvarsall.bat" amd64
327+ ) else (
328+ echo "Warning: Neither %WINDOWS_ONEAPI_PATH%\setvars.bat nor %VS2022_PATH%\VC\Auxiliary\Build\vcvarsall.bat were found."
329+ )
294330 )
295331
296332 :: Set enable delayed expansion to allow proper resolution of errors in if statements and loops
@@ -325,8 +361,8 @@ jobs:
325361 cd %BASE_DIR%
326362 )
327363
328- set ninja_targets=build-onedpl-sycl_iterator-tests build-onedpl-implementation_details-tests
329- set ctest_flags=-R "(sycl_iterator_.*)|(device_copyable)\.pass"
364+ set ninja_targets=build-onedpl-general-tests build-onedpl- sycl_iterator-tests build-onedpl-implementation_details-tests build-onedpl-ranges -tests
365+ set ctest_flags=-R "(sycl_iterator_.*)|(std_ranges_.*)|( device_copyable)|(dpl_namespace)|(test_policies)|(lambda_naming )\.pass"
330366 ) else (
331367 set ninja_targets=build-onedpl-tests
332368 )
@@ -336,7 +372,7 @@ jobs:
336372
337373 :: TODO: fix or justify the excluded warnings
338374 if "${{ matrix.cxx_compiler }}" == "cl" (
339- set warning_flags=/W4 /WX /wd4018 /wd4100 /wd4146 /wd4244 /wd4245 /wd4267 /wd4310 /wd4389 /wd4805 /wd4996
375+ set warning_flags=/W4 /WX /wd4018 /wd4100 /wd4146 /wd4244 /wd4245 /wd4267 /wd4310 /wd4389 /wd4700 / wd4805 /wd4996
340376 ) else (
341377 set warning_flags=-Wall -Werror -Wno-error=sign-compare -Wno-error=pass-failed
342378 )
0 commit comments