Skip to content

Instantly share code, notes, and snippets.

@rkandas
Created August 11, 2019 15:00
Show Gist options
  • Save rkandas/e8162a6706c519829ed5015f301c4df3 to your computer and use it in GitHub Desktop.
Save rkandas/e8162a6706c519829ed5015f301c4df3 to your computer and use it in GitHub Desktop.
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