diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2025-08-06 22:23:30 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-07 05:23:30 +0000 |
| commit | d0848ab22d007fa54605480c301cfdc5ab6386e3 (patch) | |
| tree | 7bf62f267b4b345bb7613736fab7c8addd67c744 /.github/workflows | |
| parent | 1088e57b63ae49be885d312dfad6e02057f29083 (diff) | |
Run extras/verify-documented-compiler-version.sh only when built (#8097)
The script, `extras/verify-documented-compiler-version.sh`, depends on
CMakeCache.txt, which gets built as a part of the slang build step.
But if the PR is just a document changes, the build step will be
skipped. And the script will print a warning that CMakeCache.txt is not
found.
The script should run only when Slang was built.
You can see the current warning here,
https://github.com/shader-slang/slang/actions/runs/16788651517/job/47545476533#step:12:5
Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com>
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac7c8300a..eb88df01b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -216,6 +216,7 @@ jobs: fi - name: Check documented compiler versions + if: steps.filter.outputs.should-run == 'true' run: bash extras/verify-documented-compiler-version.sh - name: Test Slang |
