Skip to content

ci: standardize libvirtualdisplay builds and coverage - #27

Merged
ReenigneArcher merged 4 commits into
masterfrom
codex/libvirtualdisplay-ci
Dec 5, 2026
Merged

ReenigneArcher merged 4 commits into
masterfrom
codex/libvirtualdisplay-ci

Conversation

@ReenigneArcher

@ReenigneArcher ReenigneArcher commented Dec 5, 2026 •

Copy link
Copy Markdown
Member

Description

  • Use lizardbyte-common’s pinned GoogleTest, shared test support, and Linux environment helpers. Keep the Vulkan layer’s Win32 environment lookup so it sees runtime Win32 updates.
  • Run Linux GCC, Windows UCRT64, and Windows MSVC through a test matrix and publish coverage and JUnit reports to Codecov. Keep Sonar at the existing README badge.
  • Use a reusable WDK packaging workflow and the Visual Studio generator built into the runner. Grant permissions per job and pin external actions in the repository-owned workflows to commit hashes.
  • Follow libvirtualhid’s release setup and publishing actions. The Windows WDK job signs PR catalogs with a temporary CI certificate and uses the same organization Azure Trusted Signing secrets and variables as libvirtualhid for draft releases on master.
  • Stage libvirtualdisplay-Windows-AMD64-driver.zip in artifacts for the shared release action’s default asset collection. Use the shared draft cleanup defaults.
  • Restrict the Windows release to the expected archive contents and a single staged asset. Keep debug symbols out of Release packages and the stress tool available in source builds.
  • Enable coverage automatically in standalone GCC test builds. Production builds omit coverage instrumentation.

Screenshot

Issues Fixed or Closed

Roadmap Issues

Testing

  • The hosted matrix passed 266 tests on Linux GCC and 245 tests each on Windows UCRT64 and MSVC. Codecov accepted both GCC coverage reports and the JUnit results from all three jobs.
  • Release setup and the WDK package job passed on the PR. Inspected all 11 files in the signed Windows ZIP and verified the public certificate matches the catalog signer. The archive and staging checks accepted the expected files and rejected extra files or a missing certificate in local fixtures.
  • The three optional KWin bridge tests passed locally against libdrm 2.4.127. The latest local GNU build generated coverage with BUILD_TESTS=ON alone, and the BUILD_TESTS=OFF configuration emitted no coverage flags.
  • Common lint, CodeQL, and SonarCloud passed. The Azure signing and draft release steps run on master after merge.

Type of Change

  • feat: New feature (non-breaking change which adds functionality)
  • fix: Bug fix (non-breaking change which fixes an issue)
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semicolons, etc.)
  • refactor: Code change that neither fixes a bug nor adds a feature
  • perf: Code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit
  • BREAKING CHANGE: Introduces a breaking change (can be combined with any type above)

Checklist

  • Code follows the style guidelines of this project
  • Code has been self-reviewed
  • Code has been commented, particularly in hard-to-understand areas
  • Code docstring/documentation-blocks for new or existing methods/components have been added or updated
  • Tests have been added or updated for new or modified functionality, including regression tests for bug fixes

AI Usage

See our AI usage policy.

  • AI tools were used while preparing this PR

@ReenigneArcher
ReenigneArcher force-pushed the codex/libvirtualdisplay-ci branch from 2eeb054 to e3fad8c Compare December 5, 2026 01:05
@codecov

codecov Bot commented Dec 5, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@sonarqubecloud

sonarqubecloud Bot commented Dec 5, 2026

Copy link
Copy Markdown

@ReenigneArcher
ReenigneArcher merged commit 7340321 into master Dec 5, 2026
21 checks passed
@ReenigneArcher
ReenigneArcher deleted the codex/libvirtualdisplay-ci branch December 5, 2026 02:33
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.

1 participant