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 3434 description : Type of workflow trigger
3535 type : string
3636 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+
3850permissions :
3951 contents : read
4052 pull-requests : write
@@ -103,7 +115,7 @@ jobs:
103115 uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
104116 with :
105117 repository : intel/llvm
106- ref : sycl
118+ ref : refs/heads/ sycl
107119 path : sycl-repo
108120
109121 - name : Set CUDA env vars
@@ -112,11 +124,6 @@ jobs:
112124 echo "CUDA_LIB_PATH=/usr/local/cuda/lib64/stubs" >> $GITHUB_ENV
113125 echo "LD_LIBRARY_PATH=/usr/local/cuda/compat/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> $GITHUB_ENV
114126
115- - name : Run pre setup
116- run : |
117- source /opt/intel/oneapi/setvars.sh --force
118- sycl-ls
119-
120127 - name : Configure SYCL
121128 run : >
122129 python3 sycl-repo/buildbot/configure.py
@@ -161,6 +168,12 @@ jobs:
161168 -DCMAKE_CXX_COMPILER="$(which clang++)"
162169 -DLLVM_LIT="${{github.workspace}}/sycl-repo/llvm/utils/lit/lit.py"
163170
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+
164177 - name : Run e2e tests
165178 id : tests
166179 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 33[ ![ 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 )
44[ ![ 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 )
55[ ![ 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 )
67[ ![ 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 )
78[ ![ 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 )
89[ ![ 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