Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Unity CI/CD pipeline with multi-platform builds, releases, and deploys

License

NotificationsYou must be signed in to change notification settings

Avalin/Unity-CI-Templates

Repository files navigation

Robust GitHub Actions workflows for Unity projects. Automates testing, multi-platform builds, and GitHub Releases with modular, reusable design.

CILicenseUnityLatest Release

🌐 WebGL Demo

See a live WebGL build deployed using this CI/CD pipeline:

➡️Play the Demo

Deployed via GitHub Pages using thegh-pages deploy target.

🚀 Getting Started

1️⃣ Ensure your Unity project is in a GitHub repository
2️⃣ Copy the required GitHub Actions workflows from theCICD_Workflows folder
3️⃣ Add them to your repository at path:.github → workflows(create folders if missing)
4️⃣ Configure therequired secrets in your repository
5️⃣ Read and optionally setuprepository variables, they're important to understand the inputs for the workflow dispatch
6️⃣ Try dispatching theci-cd-dispatcher.yml workflow or push a Git tag usingSemVer to see the pipeline in action!

⚠️ Currently tested deploy targets:gh-pages (WebGL only). Others are implemented but not yet fully verified. Contributions welcome!

📖 Documentation

For full setup instructions, deployment target guides, and advanced configuration tips, see the ➡️Wiki

📌 Features

FeatureDescription
🧪Test DetectionAuto-detects and runs EditMode & PlayMode tests.
🛠️Cross-Platform BuildsAndroid, iOS, WebGL, macOS, Windows, and Linux supported.
📦Release DeploymentAutomatically creates GitHub Releases on tag push.
🧹Modular DesignFully split into reusableworkflow_call templates.
Parallel Matrix BuildsParallel jobs across macOS and Ubuntu runners.
🔐Secure License ActivationUnity.ulf license securely injected during CI.
🗃️LFS & CacheOptional Git LFS + caching of UnityLibrary andPackages/.
🎛️Manual DispatchManually trigger preview builds with JSON platform control.
🚀DeployUpload builds to external platforms like itch.io, TestFlight, or custom servers
📣NotificationsDiscord/Slack webhook support
🔍Static AnalysisC# linters or Unity analyzers

⚠ Current Limitations

While the pipeline is production-ready and modular, some deploy integrations are still marked asexperimental:

  • 🚧Deploy targets like Steam, TestFlight, App Center
    These are implemented but have not yet been fully validated in live release pipelines.

  • 🔗External platforms may require manual setup
    Some targets (like itch.io, Firebase, S3) require correctly configured secrets and accounts - be sure to test deploy flows in a safe sandbox environment before pushing to production.

  • 🧪Unity version compatibility
    Currently optimized for Unity 2022.3+, tested with Unity 6 too, but older versions may work as well.

Contributions and testing feedback are welcome!
If you successfully validate additional targets or add new ones, please consider opening a PR to improve support for the community.


🙌 Credits

Crafted with ❤️ byAvalin
Powered by GitHub Actions + Unity + Tears.(PRs welcome!)


[8]ページ先頭

©2009-2025 Movatter.jp