File tree Expand file tree Collapse file tree 3 files changed +54
-7
lines changed Expand file tree Collapse file tree 3 files changed +54
-7
lines changed Original file line number Diff line number Diff line change 34
34
description : Type of workflow trigger
35
35
type : string
36
36
required : true
37
-
37
+ xfail :
38
+ description : Allow test failures
39
+ type : string
40
+ required : false
41
+ xfail_not :
42
+ description : Not xfail
43
+ type : string
44
+ required : false
45
+ filter_out :
46
+ description : Tests to filter out completely
47
+ type : string
48
+ required : false
49
+
38
50
permissions :
39
51
contents : read
40
52
pull-requests : write
@@ -103,7 +115,7 @@ jobs:
103
115
uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
104
116
with :
105
117
repository : intel/llvm
106
- ref : sycl
118
+ ref : refs/heads/ sycl
107
119
path : sycl-repo
108
120
109
121
- name : Set CUDA env vars
@@ -112,11 +124,6 @@ jobs:
112
124
echo "CUDA_LIB_PATH=/usr/local/cuda/lib64/stubs" >> $GITHUB_ENV
113
125
echo "LD_LIBRARY_PATH=/usr/local/cuda/compat/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> $GITHUB_ENV
114
126
115
- - name : Run pre setup
116
- run : |
117
- source /opt/intel/oneapi/setvars.sh --force
118
- sycl-ls
119
-
120
127
- name : Configure SYCL
121
128
run : >
122
129
python3 sycl-repo/buildbot/configure.py
@@ -161,6 +168,12 @@ jobs:
161
168
-DCMAKE_CXX_COMPILER="$(which clang++)"
162
169
-DLLVM_LIT="${{github.workspace}}/sycl-repo/llvm/utils/lit/lit.py"
163
170
171
+ - name : Set test filters
172
+ run : |
173
+ echo "LIT_XFAIL_NOT=${{inputs.xfail_not}}" >> $GITHUB_ENV
174
+ echo "LIT_XFAIL=${{inputs.xfail}}" >> $GITHUB_ENV
175
+ echo "LIT_FILTER_OUT=${{inputs.filter_out}}" >> $GITHUB_ENV
176
+
164
177
- name : Run e2e tests
165
178
id : tests
166
179
run : ninja -C build-e2e check-sycl-e2e
Original file line number Diff line number Diff line change
1
+ name : E2E Level Zero
2
+
3
+ on :
4
+ schedule :
5
+ # Run every day at 23:00 UTC
6
+ - cron : ' 0 23 * * *'
7
+ issue_comment :
8
+ types : [created, edited]
9
+
10
+ permissions :
11
+ contents : read
12
+ pull-requests : write
13
+
14
+ jobs :
15
+ e2e-build-hw :
16
+ # trigger only if PR comment contains "e2e-level-zero"
17
+ if : ${{ (github.event.issue.pull_request && contains(github.event.comment.body, '/e2e-level-zero')) || (github.event_name == 'schedule') }}
18
+ name : Start e2e job
19
+ # use core flow, run it with L0 specific parameters
20
+ uses : ./.github/workflows/e2e_core.yml
21
+ # parameters that we pass to the core flow
22
+ with :
23
+ name : " L0"
24
+ runner_tag : " L0_E2E"
25
+ str_name : " level_zero"
26
+ prefix : " ext_oneapi_"
27
+ config : " "
28
+ unit : " gpu"
29
+ trigger : " ${{github.event_name}}"
30
+ # Failing tests
31
+ xfail : " Basic/device-selectors.cpp;ESIMD/preemption.cpp;syclcompat/atomic/atomic_class.cpp;ProgramManager/uneven_kernel_split.cpp;Plugin/level_zero_ext_intel_queue_index.cpp;Plugin/level_zero_ext_intel_cslice.cpp;Matrix/joint_matrix_rowmajorA_rowmajorB.cpp;Matrix/element_wise_ops.cpp;Matrix/element_wise_all_ops.cpp;Matrix/SG32/element_wise_all_ops.cpp"
32
+ # Flaky tests
33
+ filter_out : " GroupAlgorithm/root_group.cpp|Basic/exceptions-SYCL-2020.cpp|Graph/UnsupportedDevice/device_query.cpp|Graph/RecordReplay/exception_inconsistent_contexts.cpp"
Original file line number Diff line number Diff line change 3
3
[ ![ Build and test] ( https://github.com/oneapi-src/unified-runtime/actions/workflows/cmake.yml/badge.svg )] ( https://github.com/oneapi-src/unified-runtime/actions/workflows/cmake.yml )
4
4
[ ![ E2E Cuda] ( https://github.com/oneapi-src/unified-runtime/actions/workflows/e2e_cuda.yml/badge.svg )] ( https://github.com/oneapi-src/unified-runtime/actions/workflows/e2e_cuda.yml )
5
5
[ ![ E2E OpenCL] ( https://github.com/oneapi-src/unified-runtime/actions/workflows/e2e_opencl.yml/badge.svg )] ( https://github.com/oneapi-src/unified-runtime/actions/workflows/e2e_opencl.yml )
6
+ [ ![ E2E Level Zero] ( https://github.com/oneapi-src/unified-runtime/actions/workflows/e2e_level_zero.yml/badge.svg )] ( https://github.com/oneapi-src/unified-runtime/actions/workflows/e2e_level_zero.yml )
6
7
[ ![ CodeQL] ( https://github.com/oneapi-src/unified-runtime/actions/workflows/codeql.yml/badge.svg )] ( https://github.com/oneapi-src/unified-runtime/actions/workflows/codeql.yml )
7
8
[ ![ Bandit] ( https://github.com/oneapi-src/unified-runtime/actions/workflows/bandit.yml/badge.svg )] ( https://github.com/oneapi-src/unified-runtime/actions/workflows/bandit.yml )
8
9
[ ![ Coverity] ( https://scan.coverity.com/projects/28213/badge.svg )] ( https://scan.coverity.com/projects/oneapi-src-unified-runtime )
You can’t perform that action at this time.
0 commit comments