A simple unity app
git clone https://github.com/roalcantara/floppy.git
- Setup
- Create Unity Project
- Add Standard Readme
- Setup Semantic Commits
- Setup Pre-Commit Hooks
- Unity Demo App
- Add Simple Unity Game
- Add Simple Unity PlayMode Tests
- Add Simple Unity EditMode Tests
- Configure WebGL Build
- [-] CI/CD & DevOps
- Add main workflow, for each PR
- Add release workflow
- On push to main
- Build the app
- Semantic Release the app
- Create Github Release/Tag
- Store the build
- Send Notification
- On push to main
- Add publish workflow
- On release created
- Download release build
- Publish to Itch.io
- Send Notification
- On release created
- [-] Dev Environment
- Makefile
- Handle Secrets
- Local (MacOS)
- Generate Manual Activation File
- Build WebGL
- Run WebGL from dist folder
- Run Tests
- All
- EditMode
- PlayMode
- Docker
- Generate Manual Activation File
- Build WebGL
- Run Tests
- All
- EditMode
- PlayMode
- Linter checks
- Unity Accelerator
- QA
- Configure Gkerking/Cucumber
- Add Relevant Unity Tests Scenarios
- Add Test Coverage
- Link Unity Tests to CI/CD
- Link Issues to CI/CD
- Run
make activation_file
to generate the activation file $(PWD)/scripts/support/Unity_v2021.1.7f1.local.alf - Upload the activation file to https://license.unity3d.com/manual
- Download and save the license file at $(PWD)/scripts/support/Unity_v2021.1.7f1.local.ulf
Running on CI/CD (Activation)
- Execute the Job Activation
- Download the Manual Activation File
- Upload the activation file to https://license.unity3d.com/manual
- Download the license file
- Run
cat Unity_v20XX.x.ulf | pbcopy
to copy the file content - Add a secret named
UNITY_LICENSE
with the content of the license file
- Run
make docker/activation_file
to generate the activation file $(PWD)/scripts/support/Unity_v2021.1.7f1.docker.alf - Upload the activation file to https://license.unity3d.com/manual
- Download and save the license file at $(PWD)/scripts/support/Unity_v2021.1.7f1.docker.ulf
Local (MacOS)
It requires $(PWD)/scripts/support/Unity_v2021.x.local.ulf See Manual license activation
## Generate Manual Activation File
make activation_file
## Activate the unity editor with license file
make activate
## Build the app for WebGL to dist folder
make build
## Run the app from dist folder
make run
## Run all tests
make test
## Run edit mode tests
make test/edit
## Run play mode tests
make test/play
Container (Docker)
It requires $(PWD)/scripts/support/Unity_v2021.x.docker.ulf See Manual license activation
## Generate Manual Activation File
make docker/activation_file
## Build the app for WebGL to dist folder
make docker/build
## Run all tests
make docker/test
## Run edit mode tests
make docker/test/edit
## Run play mode tests
make docker/test/play
- Standard Readme
- Conventional Commits
- Unity Learn
- The Unity Tutorial For Complete Beginners
- Game-CI
- Vercel: Preview Deployments Overview
- Creating pipeline for Unity games using GitHub Actions
- Unity: How To Implement A Task Branch Workflow
- CI/CD workflow for easy game updates with Addressables & DevOps | Unity at GDC 2023
- Gopass: Support for binary content
- How to build unity3d apps via docker
- Bug reports and pull requests are welcome on GitHub
- Do follow Editor Config rules.
- Do follow Git lint rules.
- Do follow the Contributor Covenant code of conduct.
The project is available as open source under the terms of the MIT License