Created
August 11, 2019 15:00
-
-
Save rkandas/e8162a6706c519829ed5015f301c4df3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2.1 | |
executors: | |
unity_exec: | |
docker: | |
- image: gableroux/unity3d:2018.4.5f1-android | |
environment: | |
BUILD_NAME: my_build_name | |
.build: &build | |
executor: unity_exec | |
steps: | |
- checkout | |
- run: | |
name: Converting Unity license | |
command: chmod +x ./ci/unity_license.sh && ./ci/unity_license.sh | |
- run: | |
name: Building game binaries | |
command: chmod +x ./ci/build.sh && ./ci/build.sh | |
- run: | |
name: Zipping build | |
command: apt update && apt -y install zip && zip -r "build.zip" ./Builds/ | |
- store_artifacts: | |
path: build.zip | |
jobs: | |
build_android: | |
<<: *build | |
environment: | |
BUILD_TARGET: Android | |
workflows: | |
version: 2 | |
build: | |
jobs: | |
- build_android |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment