Repository navigation
ci: Tier 2 shows cargo errors and build-script panics - #935
Merged
Merged
Conversation
Fails: rust/tools/linux-validate/build-errors.sh does not exist; the inline filter in validate.sh drops rustc errors.
A failed Tier 2 build printed only lines matching ': error' and 'FAILED:', so a failed Rust build in the ON configuration showed just 'FAILED: [code=101] ...' (#814). build-errors.sh keeps those lines and adds rustc diagnostics with their location and build-script panics.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #932.
A failed Tier 2 build printed only lines matching
: (fatal )?error|FAILED:. cargo's messages match neither, so #814's ON build showed justFAILED: [code=101] obs-preflight-cargo/release/libobs_preflight_ffi.aand no reason.RED e7fd816:
ci/test_tier2_build_errors.py, 3 of 4 tests fail (nobuild-errors.sh).GREEN 4fd41cd:
rust/tools/linux-validate/build-errors.shkeeps the C and ninja lines and adds rustc diagnostics with their-->location plus build-script panics;validate.shcalls it on build failure. 4/4 pass, and theci/suite is green (343 tests).Only the failure path changes; a passing build never calls it.