Welcome to Buildalon!
Buildalon allows you to:
- Automatically generate build of your Unity project on a VM in the cloud.
- Your entire VM is cached to ensure so iterative builds are fast.
- Automatically run tests.
- Automatically deploy your built app.
Need help? Get support on Discord.
- A Unity project you want to build.
- A Unity license to build the project (Personal, Pro, etc.).
- Your Unity project should be pushed to a Github repository.
- Sign up for Buildalon here.
TODO: need to make the app public to see what the installation page looks like.
The com.utilities.buildpipeline package adds new command line arguments to the Unity Editor which will allow you to build your project and run tests in an automation setting.
Visit the OpenUPM Page and select from one of the installation options.
Buildalon Works with Github Actions. You define actions for the runner machine to perform by writing a workflow file. We provide a few samples in the workflow
directory. Here's how to setup a simple Unity build:
- Create the folder
.github\workflows
in your project repo. - Copy the unity-build.yml workflow into this folder.
- Read through the file and make any changes you need. Most importantly:
- Set
push/branches
to the branches you want to build on every commit. - Set
pull_request/branches
to the branches you want to build when a pull request is created. - Set
version-file-path
to the path of your project'sProjectVersion.txt
. - Set
license-type
toPersonal
orPro
. - Note: The
5mB-windows
label tells Github to run the workflow on a Buildalon runner.
- Set
In order to activate your license, the runner needs to login on your behalf and enter your license serial number.
You can add secrets for an Oranization or single Repo in Github by going to > Settings
> Secrets and variables
> Actions
.
Add the following secrets:
UNITY_USERNAME
The email address you use for your Unity IdUNITY_PASSWORD
The password you use for Unity Id accessUNITY_SERIAL
Only required for pro/plus activations.UNITY_2FA_KEY
Only required for personal activations.
2FA Auth Key Setup Steps (Personal License Only)
To activate new two factor authentication for your Unity account:- Login to Unity account and navigate to
Security
- Click
+
(activate) next toTwo Factor Authentication
- Select
Start setup
- Input password if prompted
- Select
Authenticator App
to receive codes, thenNext
- Click
Can't Scan the barcode?
- Copy the 16 character key
- Create new secret
UNITY_2FA_KEY
and save the generated key from the previous step - Scan the QR code in your Authenticator app and verify the code.
Commit and push your changes, then visit the Action
tab in Github to see your build run. Buildalon will allocate a dedicated virtual machine to run your workflow.
The first time it runs, your workflow will install Unity and build your project from scratch. Subsequent runs will use the same virtual machine and build files, which should speed up the build significantly.
For help and questions, be sure to visit our Discord.