Skip to content

[CI] Test on all devices when not specified #18356

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

Merged
merged 2 commits into from
May 9, 2025
Merged

[CI] Test on all devices when not specified #18356

merged 2 commits into from
May 9, 2025

Conversation

sarnex
Copy link
Contributor

@sarnex sarnex commented May 7, 2025

Nightly https://github.com/intel/llvm/actions/runs/14892412297

We forgot to set target_devices when moving the nightly Windows run-tests job over to the composite workflow, but we can't require it to be set because it needs to be unset for build-only mode, so just use all if not specified and fix the nightly.

Currently we get a CMake error because sycl_devices is empty which fails to be parsed.

@sarnex sarnex force-pushed the sarnex_nightly branch from 3c68af0 to feb8899 Compare May 7, 2025 20:13
@sarnex sarnex changed the title [CI] Require setting target_devices and fix nightly [CI] Test on all devices when not specified May 7, 2025
@sarnex sarnex temporarily deployed to WindowsCILock May 7, 2025 20:13 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock May 7, 2025 20:14 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock May 7, 2025 20:37 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock May 7, 2025 20:37 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock May 7, 2025 20:45 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock May 7, 2025 20:45 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock May 7, 2025 21:03 — with GitHub Actions Inactive
@sarnex
Copy link
Contributor Author

sarnex commented May 8, 2025

PVC fail unrelated, fixed in HEAD

@sarnex sarnex marked this pull request as ready for review May 8, 2025 14:24
@sarnex sarnex requested a review from a team as a code owner May 8, 2025 14:24
@sarnex sarnex requested a review from ayylol May 8, 2025 14:24
@ayylol
Copy link
Contributor

ayylol commented May 8, 2025

it needs to be unset for build-only mode

Is this actually true? I thought we could have it set on build-only and it would just ignore it instead.

@sarnex
Copy link
Contributor Author

sarnex commented May 8, 2025

Is this actually true? I thought we could have it set on build-only and it would just ignore it instead.

In terms of the implementation yes, but if we require it then we would have to specify it on workflow calls doing only build which seems weird

Copy link
Contributor

@ayylol ayylol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to merge as is to fix nightly, that's also fine with me.

Signed-off-by: Sarnie, Nick <[email protected]>
@sarnex sarnex temporarily deployed to WindowsCILock May 9, 2025 14:23 — with GitHub Actions Inactive
Copy link
Contributor

@ayylol ayylol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@sarnex sarnex temporarily deployed to WindowsCILock May 9, 2025 14:54 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock May 9, 2025 14:54 — with GitHub Actions Inactive
@sarnex sarnex merged commit be5ad03 into sycl May 9, 2025
24 checks passed
@bader bader deleted the sarnex_nightly branch May 9, 2025 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants