3838 ref :
3939 type : string
4040 required : True
41+ description : |
42+ Commit SHA or branch to checkout the intel/llvm repo.
4143 devops_ref :
4244 type : string
4345 required : False
4446 description : |
45- By default we checkout the devops directory from "inputs.ref" branch.
46- devops_ref may be specified to checkout the devops dir from different
47- branch.
48- Note: it doesn't affect ./devops/actions/run-tests/* as these actions
49- call checkout again and therefore override the devops directory, so
50- configs/dependecies from input.ref are used.
47+ Commit SHA or branch to checkout the devops directory.
48+ tests_ref :
49+ type : string
50+ required : False
51+ description : Commit SHA or branch to checkout e2e/cts tests.
5152
5253 sycl_toolchain_artifact :
5354 type : string
@@ -205,7 +206,13 @@ jobs:
205206 if : inputs.reset_intel_gpu == 'true'
206207 run : |
207208 sudo mount -t debugfs none /sys/kernel/debug
208- sudo bash -c 'echo 1 > /sys/kernel/debug/dri/0/i915_wedged'
209+ base_dir="/sys/kernel/debug/dri"
210+
211+ for dir in "$base_dir"/*; do
212+ if [ -f "$dir/i915_wedged" ]; then
213+ sudo bash -c 'echo 1 > $0/i915_wedged' $dir
214+ fi
215+ done
209216 - uses : actions/checkout@v4
210217 with :
211218 ref : ${{ inputs.devops_ref || inputs.ref }}
@@ -298,7 +305,7 @@ jobs:
298305 if : inputs.tests_selector == 'e2e'
299306 uses : ./devops/actions/run-tests/e2e
300307 with :
301- ref : ${{ inputs.ref || github.sha }}
308+ ref : ${{ inputs.tests_ref || inputs. ref || github.sha }}
302309 binaries_artifact : ${{ inputs.e2e_binaries_artifact }}
303310 testing_mode : ${{ inputs.e2e_testing_mode }}
304311 extra_cmake_args : ${{ inputs.extra_cmake_args }}
@@ -310,6 +317,7 @@ jobs:
310317 if : inputs.tests_selector == 'cts'
311318 uses : ./devops/actions/run-tests/cts
312319 with :
320+ ref : ${{ inputs.tests_ref || 'main' }}
313321 extra_cmake_args : ${{ inputs.extra_cmake_args }}
314322 cts_testing_mode : ${{ inputs.cts_testing_mode }}
315323 sycl_cts_artifact : ${{ inputs.sycl_cts_artifact }}
0 commit comments