File tree 4 files changed +26
-3
lines changed
4 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 38
38
ref :
39
39
type : string
40
40
required : True
41
+ devops_ref :
42
+ type : string
43
+ required : False
44
+ 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.
41
51
42
52
sycl_toolchain_artifact :
43
53
type : string
@@ -197,7 +207,7 @@ jobs:
197
207
sudo bash -c 'echo 1 > /sys/kernel/debug/dri/0/i915_wedged'
198
208
- uses : actions/checkout@v4
199
209
with :
200
- ref : ${{ inputs.ref }}
210
+ ref : ${{ inputs.devops_ref || inputs. ref }}
201
211
sparse-checkout : |
202
212
devops
203
213
- name : Register cleanup after job is finished
Original file line number Diff line number Diff line change 12
12
# since the last run. More precisely, it checks if the last commit is older
13
13
# than 24h. That means the previous Nightly already tested this commit.
14
14
check_for_new_commits :
15
+ if : github.repository == 'intel/llvm'
15
16
runs-on : ubuntu-latest
16
17
name : Check for new commits
17
18
outputs :
@@ -101,6 +102,7 @@ jobs:
101
102
extra_lit_opts : ${{ matrix.extra_lit_opts }}
102
103
reset_intel_gpu : ${{ matrix.reset_intel_gpu }}
103
104
ref : sycl-rel-6_0_0
105
+ devops_ref : sycl
104
106
sycl_toolchain_artifact : sycl_linux_default
105
107
sycl_toolchain_archive : ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }}
106
108
sycl_toolchain_decompress_command : ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }}
@@ -130,6 +132,7 @@ jobs:
130
132
sycl_toolchain_archive : ${{ needs.build-win.outputs.artifact_archive_name }}
131
133
extra_lit_opts : --param gpu-intel-gen12=True
132
134
ref : sycl-rel-6_0_0
135
+ devops_ref : sycl
133
136
134
137
cuda-aws-start :
135
138
needs : [ubuntu2204_build]
@@ -151,6 +154,7 @@ jobs:
151
154
image_options : -u 1001 --gpus all --cap-add SYS_ADMIN --env NVIDIA_DISABLE_REQUIRE=1
152
155
target_devices : cuda:gpu
153
156
ref : sycl-rel-6_0_0
157
+ devops_ref : sycl
154
158
155
159
sycl_toolchain_artifact : sycl_linux_default
156
160
sycl_toolchain_archive : ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }}
Original file line number Diff line number Diff line change 90
90
with :
91
91
sparse-checkout : |
92
92
devops/actions
93
- ref : ${{ inputs.ref || github.sha }}
94
93
- uses : ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756
95
94
with :
96
95
arch : amd64
Original file line number Diff line number Diff line change 18
18
ref :
19
19
type : string
20
20
required : False
21
+ devops_ref :
22
+ type : string
23
+ required : False
24
+ description : |
25
+ By default we checkout the devops directory from "inputs.ref" branch.
26
+ devops_ref may be specified to checkout the devops dir from different
27
+ branch.
28
+ Note: it doesn't affect ./devops/actions/run-tests/* as these actions
29
+ call checkout again and therefore override the devops directory, so
30
+ configs/dependecies from input.ref are used.
21
31
22
32
sycl_toolchain_artifact :
23
33
type : string
61
71
with :
62
72
sparse-checkout : |
63
73
devops/actions
64
- ref : ${{ inputs.ref || github.sha }}
74
+ ref : ${{ inputs.devops_ref|| inputs. ref || github.sha }}
65
75
- uses : ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756
66
76
with :
67
77
arch : amd64
You can’t perform that action at this time.
0 commit comments