-
Notifications
You must be signed in to change notification settings - Fork 790
[CI] Use devops dir from sycl on sycl-rel nightly #17004
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -38,6 +38,16 @@ on: | |||||||||||||||||||||||||||||||||||||||||||||||
ref: | ||||||||||||||||||||||||||||||||||||||||||||||||
type: string | ||||||||||||||||||||||||||||||||||||||||||||||||
required: True | ||||||||||||||||||||||||||||||||||||||||||||||||
devops_ref: | ||||||||||||||||||||||||||||||||||||||||||||||||
type: string | ||||||||||||||||||||||||||||||||||||||||||||||||
required: False | ||||||||||||||||||||||||||||||||||||||||||||||||
description: | | ||||||||||||||||||||||||||||||||||||||||||||||||
By default we checkout the devops directory from "inputs.ref" branch. | ||||||||||||||||||||||||||||||||||||||||||||||||
devops_ref may be specified to checkout the devops dir from different | ||||||||||||||||||||||||||||||||||||||||||||||||
branch. | ||||||||||||||||||||||||||||||||||||||||||||||||
Note: it doesn't affect ./devops/actions/run-tests/* as these actions | ||||||||||||||||||||||||||||||||||||||||||||||||
call checkout again and therefore override the devops directory, so | ||||||||||||||||||||||||||||||||||||||||||||||||
configs/dependecies from input.ref are used. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||
sycl_toolchain_artifact: | ||||||||||||||||||||||||||||||||||||||||||||||||
type: string | ||||||||||||||||||||||||||||||||||||||||||||||||
|
@@ -197,7 +207,7 @@ jobs: | |||||||||||||||||||||||||||||||||||||||||||||||
sudo bash -c 'echo 1 > /sys/kernel/debug/dri/0/i915_wedged' | ||||||||||||||||||||||||||||||||||||||||||||||||
- uses: actions/checkout@v4 | ||||||||||||||||||||||||||||||||||||||||||||||||
with: | ||||||||||||||||||||||||||||||||||||||||||||||||
ref: ${{ inputs.ref }} | ||||||||||||||||||||||||||||||||||||||||||||||||
ref: ${{ inputs.devops_ref || inputs.ref }} | ||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. another option - may be we can drop There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we still [want to] have CUDA on AWS testing. Due to its setup it can't use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We still run it in Nightly: llvm/.github/workflows/sycl-nightly.yml Lines 147 to 169 in f3d12f0
because we don't want the infrastructure support to rot. |
||||||||||||||||||||||||||||||||||||||||||||||||
sparse-checkout: | | ||||||||||||||||||||||||||||||||||||||||||||||||
devops | ||||||||||||||||||||||||||||||||||||||||||||||||
- name: Register cleanup after job is finished | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,6 @@ jobs: | |
with: | ||
sparse-checkout: | | ||
devops/actions | ||
ref: ${{ inputs.ref || github.sha }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note for reviewers: just aligned this with sycl-linux-build.yml |
||
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 | ||
with: | ||
arch: amd64 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we ever want this to be different? shouldnt we always use the current version from the
sycl
branch?Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure. So this first checkout defines which
devops/actions/cleanup
anddevops/actions/cached_checkout
scripts are used. Are there cases when you need to use the script from your branch, not from sycl, e.g. If you need to test changes in cached_checkout?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ive never had to, since we should always use the workflow/script in the current PR which is always what i wanted