@@ -3,8 +3,10 @@ name: 'Run SYCL CTS tests on Windows'
3
3
inputs :
4
4
ref :
5
5
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
8
10
extra_cmake_args :
9
11
required : false
10
12
cts_testing_mode :
@@ -19,6 +21,18 @@ inputs:
19
21
runs :
20
22
using : " composite"
21
23
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
22
36
- name : Checkout SYCL CTS tests
23
37
if : inputs.cts_testing_mode != 'run-only'
24
38
uses : ./devops/actions/cached_checkout
@@ -42,11 +56,11 @@ runs:
42
56
# If CTS_TESTS_TO_BUILD is null - use filter
43
57
if [ -z "$CTS_TESTS_TO_BUILD" ]; then
44
58
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
46
60
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
48
62
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
50
64
fi
51
65
52
66
# List excluded SYCL CTS categories:
@@ -107,8 +121,8 @@ runs:
107
121
108
122
# If the suite was built on another machine then the build contains the full
109
123
# 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,
112
126
# these files may differ from each other, so when there is a pre-built set of
113
127
# tests, we need to filter it according to the filter-file.
114
128
- name : Filter SYCL CTS test categories
@@ -117,9 +131,9 @@ runs:
117
131
run : |
118
132
cts_exclude_filter=""
119
133
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
121
135
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
123
137
fi
124
138
125
139
while IFS= read -r line; do
0 commit comments