Repository navigation
test: Build obs-nvenc in the Tier 2 Linux harness with ENABLE_RUST_LIBOBS OFF and ON - #646
Merged
Merged
Conversation
…(RED) validate.sh now requires obs-nvenc.so to build in both modes, with cuda-load.c when ENABLE_RUST_LIBOBS is OFF and cuda-load-rust.c when ON. The harness still configures with ENABLE_NVENC=OFF, so this fails. Refs #645
Install nv-codec-headers (libffmpeg-nvenc-dev, FFnvcodec 12) in the image and configure with ENABLE_NVENC=ON, so both builds compile and link obs-nvenc. That covers the cuda-load.c / cuda-load-rust.c swap from #592. Fixes #645 Local-Gate: v1 tree=5f5a85eacb13db43b216aa3ef03fb20839601291 secs=396 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run Ci-Attestation: {"at":1791929419,"gate":"rust/all/fmt","host":"linux-x86_64","key":"331c220c86a55c314a1aed95aab7ba682a259d29a25e8938ac9da9e4218eac61","lane":"lint","parents":["5dd14df70b6afd03a39e3b7d706eeb073bc72719"],"secs":20,"stamp":"00d53eb044d63868a9920dbcc098f41c","tree":"5f5a85eacb13db43b216aa3ef03fb20839601291","v":1,"via":"run"} Ci-Attestation: {"at":1791929419,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"331c220c86a55c314a1aed95aab7ba682a259d29a25e8938ac9da9e4218eac61","lane":"lint","parents":["5dd14df70b6afd03a39e3b7d706eeb073bc72719"],"secs":20,"stamp":"3dc63cc0b16598c0ad0f67f27f96a8a6","tree":"5f5a85eacb13db43b216aa3ef03fb20839601291","v":1,"via":"run"} Ci-Attestation: {"at":1791929419,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"4840c0308ea31c36ffa76cd068a46ab3c44d0e27f50d14fcf23350a743ff20fe","lane":"rust-test","parents":["5dd14df70b6afd03a39e3b7d706eeb073bc72719"],"secs":124,"stamp":"912980d7375d73d5bb188d1d6f755e53","tree":"5f5a85eacb13db43b216aa3ef03fb20839601291","v":1,"via":"run"} Ci-Attestation: {"at":1791929419,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"620c0248d6262a5528478c98fed510193753d9c6c9e9796ec445e56d5e1b9bd3","lane":"cross","parents":["5dd14df70b6afd03a39e3b7d706eeb073bc72719"],"secs":119,"stamp":"f83061a1f616fb134a8e9bd01e725aff","tree":"5f5a85eacb13db43b216aa3ef03fb20839601291","v":1,"via":"run"} Ci-Attestation: {"at":1791929419,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"620c0248d6262a5528478c98fed510193753d9c6c9e9796ec445e56d5e1b9bd3","lane":"cross","parents":["5dd14df70b6afd03a39e3b7d706eeb073bc72719"],"secs":119,"stamp":"0a5557fce05d69e8280f0a8b798e645b","tree":"5f5a85eacb13db43b216aa3ef03fb20839601291","v":1,"via":"run"} Ci-Attestation: {"at":1791929419,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"620c0248d6262a5528478c98fed510193753d9c6c9e9796ec445e56d5e1b9bd3","lane":"cross","parents":["5dd14df70b6afd03a39e3b7d706eeb073bc72719"],"secs":119,"stamp":"b584822a28caeb47c9ad95c51affce0a","tree":"5f5a85eacb13db43b216aa3ef03fb20839601291","v":1,"via":"run"} Ci-Attestation: {"at":1791929419,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"620c0248d6262a5528478c98fed510193753d9c6c9e9796ec445e56d5e1b9bd3","lane":"cross","parents":["5dd14df70b6afd03a39e3b7d706eeb073bc72719"],"secs":119,"stamp":"edb248f5497e4976a5d15de42d34a3f1","tree":"5f5a85eacb13db43b216aa3ef03fb20839601291","v":1,"via":"run"} Ci-Attestation: {"at":1791929419,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"620c0248d6262a5528478c98fed510193753d9c6c9e9796ec445e56d5e1b9bd3","lane":"cross","parents":["5dd14df70b6afd03a39e3b7d706eeb073bc72719"],"secs":119,"stamp":"50f314020be8736ad0c7647856751423","tree":"5f5a85eacb13db43b216aa3ef03fb20839601291","v":1,"via":"run"} Ci-Attestation: {"at":1791929419,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"620c0248d6262a5528478c98fed510193753d9c6c9e9796ec445e56d5e1b9bd3","lane":"cross","parents":["5dd14df70b6afd03a39e3b7d706eeb073bc72719"],"secs":119,"stamp":"1b476e164703c614e8b0f853cdfaf621","tree":"5f5a85eacb13db43b216aa3ef03fb20839601291","v":1,"via":"run"} Ci-Attestation: {"at":1791929419,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"645acaf6538d7c5e88cd82bf16889acc2533ac8dce314ae80c8b2d7a0eb7e4bb","lane":"tier2-linux","parents":["5dd14df70b6afd03a39e3b7d706eeb073bc72719"],"secs":132,"stamp":"d404e208daddfb51ed47d84d8e995f61","tree":"5f5a85eacb13db43b216aa3ef03fb20839601291","v":1,"via":"run"}
15 tasks
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.
Refs #524 (Tier 2 coverage of its CUDA loader swap, landed in #592).
Fixes #645. Follow-up to #524 / #592: adds the Tier 2 coverage of the obs-nvenc CUDA loader swap that #592 deferred.
Commits
5dd14df70):validate.shrequires, per mode, thatobs-nvenc.sobuilds and that it compilescuda-load.c.oOFF andcuda-load-rust.c.oON. It failed under the unchanged harness:libffmpeg-nvenc-dev(FFnvcodec 12), andvalidate.shconfigures withENABLE_NVENC=ONand builds theobs-nvenctarget.rust/tools/linux-validate/run.sh:No GPU is needed: like the decklink check, this is compile and link only. The unchanged C tests pass in both modes, and no C test or public header was touched.
Local gate
./lintok,./unittestok, andci-lint local-gate runpassed lint, rust-test, cross and tier2-linux. HEAD is stamped.