ci: add PR quality gate and release workflows - #2
Merged
Conversation
- pr.yml: lint (fmt + clippy) and test matrix (ubuntu/windows) on PRs to main - release.yml: CI on push to main, release-please version management, and per-OS dtex binary builds uploaded to the GitHub release - .release-please-config.json: rust release type, prerelease, keeping all workspace crate versions in sync
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.
Summary
Adds GitHub Actions CI/CD, modeled on the luadejit sibling repo.
cargo fmt --check+cargo clippy -D warnings, and a[ubuntu, windows]build + test matrix on PRs tomain. No test-fixture job (Darktide game files cannot be vendored); existing synthetic tests run without the Oodle library.main— CI build+test matrix,release-pleasefor version-bump release PRs / tags / GitHub Releases (prerelease), and a per-OSdtexbinary build (dtex-linux-x64.tar.gz,dtex-windows-x64.zip) uploaded to each release viagh release upload --clobber.Cargo.tomls in lockstep.Notes
release.ymlships with a temporaryworkflow_dispatchtrigger so the release path can be exercised on this branch before merge; it will be removed once validated.Test plan
cargo fmt --check,cargo clippy -D warnings,cargo test --workspace --releaseall passpr.ymlgreen on this PR (lint + test matrix)release.ymlcijob green via manual dispatch on this branchdtexbinaries on both OSesworkflow_dispatchtrigger removed before merge