|
||
---|---|---|
.github | ||
.vscode | ||
dist | ||
game-ci | ||
media | ||
scripts | ||
src | ||
test-project | ||
.dockerignore | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.json | ||
.gitattributes | ||
.gitignore | ||
.npmrc | ||
.prettierignore | ||
.prettierrc.json | ||
.yarnrc | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
action.yml | ||
codecov.yml | ||
jest.ci.config.js | ||
jest.config.js | ||
jest.setup.js | ||
lefthook.yml | ||
package.json | ||
tsconfig.json | ||
yarn.lock |
README.md
Unity - Builder
(Not affiliated with Unity Technologies)
GitHub Action to build Unity projects for different platforms.
Part of the GameCI open source project.
How to use
Find the docs on the GameCI documentation website.
Related actions
Visit the GameCI Unity Actions status repository for related Actions.
AWS provider with local emulator
The AWS provider can target a local AWS emulator such as LocalStack. Configure the endpoint URLs through environment variables before running tests or the action:
AWS_ENDPOINT=http://localhost:4566
AWS_ACCESS_KEY_ID=test
AWS_SECRET_ACCESS_KEY=test
When these variables are set, Unity Builder will direct its CloudFormation, ECS, Kinesis, CloudWatch Logs and S3 clients
to the emulator instead of the real AWS services. See .github/workflows/cloud-runner-integrity-localstack.yml
for an
example configuration.
Rclone storage provider (experimental)
Unity Builder can use rclone as an alternative storage provider for cache and build artifacts in Cloud Runner.
- Inputs:
storageProvider
: set torclone
to enable rclone-backed storage (default iss3
).rcloneRemote
: rclone remote to use, e.g.s3:my-bucket
,gcs:my-bucket
,local:./path
.
When storageProvider=rclone
:
- Retained workspace locking uses rclone operations instead of S3 (touch/delete/ls).
- Built-in container hooks are available:
rclone-pull-cache
,rclone-upload-cache
rclone-pull-build
,rclone-upload-build
You must ensure the rclone
CLI is available in the container runtime. The built-in hooks use the rclone/rclone
image.
Example (local testing): set RCLONE_REMOTE=local:./temp/rclone-remote
and include the rclone hooks via containerHookFiles
.
Community
Feel free to join us on
and engage with the
community.
Contributing
To help improve the documentation, please find the docs repository.
To contribute to Unity Builder, kindly read the contribution guide.
Support us
GameCI is free for everyone forever.
You can support us at OpenCollective.
Licence
This repository is MIT licensed.
This includes all contributions from the community.