File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 84
84
uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
85
85
with :
86
86
path : ur-repo
87
+ ref : ${{ steps.comment-branch.outputs.head_ref }}
87
88
88
89
- name : Checkout SYCL
89
90
uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
@@ -174,4 +175,22 @@ jobs:
174
175
-DLLVM_LIT="${{github.workspace}}/sycl-repo/llvm/utils/lit/lit.py"
175
176
176
177
- name : Run e2e tests
178
+ id : tests
177
179
run : ninja -C build-e2e check-sycl-e2e
180
+
181
+ - name : Add comment to PR
182
+ uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
183
+ if : always()
184
+ with :
185
+ script : |
186
+ const adapter = '${{ matrix.adapter.name }}';
187
+ const url = '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}';
188
+ const status = ${{ steps.tests.outcome }};
189
+ const body = `E2E ${adapter} build: \n${url}\n Status: ${status}`;
190
+
191
+ github.rest.issues.createComment({
192
+ issue_number: context.issue.number,
193
+ owner: context.repo.owner,
194
+ repo: context.repo.repo,
195
+ body: body
196
+ })
You can’t perform that action at this time.
0 commit comments