@@ -3,8 +3,10 @@ name: 'Run SYCL CTS tests on Windows'
33inputs :
44 ref :
55 description : " Commit SHA or branch to checkout tests"
6- required : false
7- default : " main"
6+ required : true
7+ cts_exclude_ref :
8+ description : " Commit SHA or branch to checkout the cts_exclude_filter dir"
9+ required : true
810 extra_cmake_args :
911 required : false
1012 cts_testing_mode :
@@ -19,6 +21,18 @@ inputs:
1921runs :
2022 using : " composite"
2123 steps :
24+ - name : Checkout cts_exclude_filter folder
25+ uses : actions/checkout@v4
26+ with :
27+ ref : ${{ inputs.cts_exclude_ref }}
28+ path : cts_exclude
29+ sparse-checkout : |
30+ sycl/cts_exclude_filter
31+ - name : Move sycl to root
32+ shell : bash
33+ run : |
34+ mv cts_exclude/sycl .
35+ rm -rf cts_exclude
2236 - name : Checkout SYCL CTS tests
2337 if : inputs.cts_testing_mode != 'run-only'
2438 uses : ./devops/actions/cached_checkout
@@ -42,11 +56,11 @@ runs:
4256 # If CTS_TESTS_TO_BUILD is null - use filter
4357 if [ -z "$CTS_TESTS_TO_BUILD" ]; then
4458 if [ "${{ contains(inputs.cts_testing_mode, 'build-only') }}" = "true" ]; then
45- cts_exclude_filter=$PWD/devops/cts_exclude_filter_compfails
59+ cts_exclude_filter=$PWD/sycl/cts_exclude_filter/compfails
4660 elif [ "${{ contains(inputs.target_devices, 'opencl:cpu') }}" = "true" ]; then
47- cts_exclude_filter=$PWD/devops/cts_exclude_filter_OCL_CPU
61+ cts_exclude_filter=$PWD/sycl/cts_exclude_filter/OCL_CPU
4862 elif [ "${{ contains(inputs.target_devices, 'level_zero:gpu') }}" = "true" ]; then
49- cts_exclude_filter=$PWD/devops/cts_exclude_filter_L0_GPU
63+ cts_exclude_filter=$PWD/sycl/cts_exclude_filter/L0_GPU
5064 fi
5165
5266 # List excluded SYCL CTS categories:
@@ -107,8 +121,8 @@ runs:
107121
108122 # If the suite was built on another machine then the build contains the full
109123 # set of tests. We have special files to filter out some test categories,
110- # see "devops/cts_exclude_filter_ *". Each configuration has its own file, e.g.
111- # there is "cts_exclude_filter_OCL_CPU " for opencl:cpu device. Therefore,
124+ # see "sycl/cts_exclude_filter/ *". Each configuration has its own file, e.g.
125+ # there is "cts_exclude_filter/OCL_CPU " for opencl:cpu device. Therefore,
112126 # these files may differ from each other, so when there is a pre-built set of
113127 # tests, we need to filter it according to the filter-file.
114128 - name : Filter SYCL CTS test categories
@@ -117,9 +131,9 @@ runs:
117131 run : |
118132 cts_exclude_filter=""
119133 if [ "${{ contains(inputs.target_devices, 'opencl:cpu') }}" = "true" ]; then
120- cts_exclude_filter=$PWD/devops/cts_exclude_filter_OCL_CPU
134+ cts_exclude_filter=$PWD/sycl/cts_exclude_filter/OCL_CPU
121135 elif [ "${{ contains(inputs.target_devices, 'level_zero:gpu') }}" = "true" ]; then
122- cts_exclude_filter=$PWD/devops/cts_exclude_filter_L0_GPU
136+ cts_exclude_filter=$PWD/sycl/cts_exclude_filter/L0_GPU
123137 fi
124138
125139 while IFS= read -r line; do
0 commit comments