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 8484 uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
8585 with :
8686 path : ur-repo
87+ ref : ${{ steps.comment-branch.outputs.head_ref }}
8788
8889 - name : Checkout SYCL
8990 uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
@@ -174,4 +175,22 @@ jobs:
174175 -DLLVM_LIT="${{github.workspace}}/sycl-repo/llvm/utils/lit/lit.py"
175176
176177 - name : Run e2e tests
178+ id : tests
177179 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