-
Notifications
You must be signed in to change notification settings - Fork 357
Add CI check for SPIRV-Tools generated files consistency #8510
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
base: master
Are you sure you want to change the base?
Add CI check for SPIRV-Tools generated files consistency #8510
Conversation
cb9f321
to
9ffd551
Compare
🌈 Formatted, please merge the changes from this PR |
- Validates external/spirv-tools-generated matches current spirv-tools build - Only runs when external/spirv-tools or external/spirv-headers are modified - Checks spirv-headers commit consistency with spirv-tools DEPS - Provides clear error messages and fix instructions
1ab29c1
to
d4376bc
Compare
thanks, this really helps with the maintainer duty. |
platform: x86_64 | ||
config: release | ||
runs-on: '["Windows", "self-hosted", "GCP-T4"]' | ||
|
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 really need to run this in each CL? I feel like this should be only needed when we try to upgrade the spirv-tools?
I think this workflow can be an indenpendent one that we can manually dispatch, just like |
TLDR: Restructured workflow to prevent check-ci from hanging when no SPIRV files are modified Flow Overview: 1. check-spirv-changes: Always runs, detects if external/spirv-tools* files were modified 2. check-spirv-consistency: Conditionally runs only when SPIRV files are modified (job-level conditional) 3. spirv-check-summary: Always runs with clear success/failure reporting Key Fixes: - Removed invalid workflow parameters that caused CI syntax errors - Split single job into three jobs with proper dependency handling - Added external/spirv-tools-generated to change detection - Summary job uses if: always() and handles skipped dependencies correctly - Provides definitive status for check-ci dependency resolution This prevents the "pending" state that occurred when only YAML files or non-SPIRV files were modified.
I pushed a second commit to resolve the stuck problem at "check-ci". @gtong-nv , the checking will be skipped when there is no changes in |
🌈 Formatted, please merge the changes from this PR |
There is an issue parsing the workflow file
|
Fixes #8509