-
Notifications
You must be signed in to change notification settings - Fork 0
Tutorial Validate In CI
← Home
Take a solarxy.toml you authored locally, run batch validation against an
asset folder, then wire the same command into a GitHub Actions workflow that
annotates pull requests inline.
Phase 1 scaffold. The full tutorial lands in Phase 2. See CI/CD Integration for the recipe reference and CLI Reference for every flag.
Phase 2: a PR that flags a bad asset before merge, with findings visible inline.
Phase 2: an existing repo with an assets/ directory of .glb files and a
GitHub Actions runner.
Phase 2:
- Author a starter
solarxy.tomlwith a triangle budget and one[[filenames.rules]]. - Run
solarxy-cli --mode analyze --paths "assets/**/*.glb"locally. - Add the GitHub Actions workflow from CI/CD Integration → GitHub Actions.
- Open a PR with a deliberately bad asset; observe inline annotations.
- Switch the workflow to SARIF for Code Scanning; observe the Security tab.
Screenshots to capture:
-
img/tutorial-analyze-tui.png- the local Analyze TUI showing findings. -
img/tutorial-pr-annotations.png- GitHub PR with inline annotations.
Phase 2: PR status check goes red on a bad asset, green after fixing.
Phase 2: why --mode analyze is required for --paths, the adapter / format
matrix, and when SARIF beats workflow-command annotations.
Phase 2: pointers to CI/CD Integration, the policy tutorial, and Validation Reference.
See also: CI/CD Integration · CLI Reference · Configuration · Tutorial: Build a custom validation policy
Solarxy - A lightweight, cross-platform 3D model viewer and validator built with Rust and wgpu.
GitHub Repository · Releases & Downloads
© 2026 Marko Koljancic · MIT License
Getting Started
Tutorials
Using Solarxy
Reference
Help
Project