|
| 1 | +--- |
| 2 | +# Generated by <circle ci pipeline new>; this file *should* be edited manually to add or modify steps. |
| 3 | +# |
| 4 | +# Steps are executed based on the version in version control, and so you *do not* need to upload changes to BuildKite, just |
| 5 | +# commit them and send a PR to GitHub as you normally would. |
| 6 | +# |
| 7 | +# You may find the example pipeline steps listed here helpful: https://buildkite.com/docs/pipelines/defining-steps#example-pipeline but please |
| 8 | +# note that the setup is already done, so you should not manually adjust anything through the BuildKite interface. |
| 9 | +# |
| 10 | +common: &common |
| 11 | + agents: |
| 12 | + - "capable_of_building=gdk-for-unity" |
| 13 | + - "environment=production" |
| 14 | + - "permission_set=builder" |
| 15 | + - "platform=windows" |
| 16 | + - "queue=v2-1550169760-797337f060834fd6-------z" |
| 17 | + timeout_in_minutes: 60 # TODO(ENG-548): reduce timeout once agent-cold-start is optimised. |
| 18 | + retry: |
| 19 | + automatic: |
| 20 | + # This is designed to trap and retry failures because agent lost connection. Agent exits with -1 in this case. |
| 21 | + - exit_status: -1 |
| 22 | + limit: 3 |
| 23 | + |
| 24 | +# NOTE: step labels turn into commit-status names like {org}/{repo}/{pipeline}/{step-label}, lower-case and hyphenated. |
| 25 | +# These are then relied on to have stable names by other things, so once named, please beware renaming has consequences. |
| 26 | + |
| 27 | +steps: |
| 28 | + - label: "build :android:" |
| 29 | + command: bash -c .shared-ci/scripts/build-worker.sh |
| 30 | + <<: *common |
| 31 | + artifact_paths: |
| 32 | + - logs/**/* |
| 33 | + env: |
| 34 | + WORKER_TYPE: "AndroidClient" |
| 35 | + BUILD_TARGET: "local" |
| 36 | + SCRIPTING_TYPE: "mono" |
| 37 | + |
| 38 | + - label: "build UnityClient mono" |
| 39 | + command: bash -c .shared-ci/scripts/build-worker.sh |
| 40 | + <<: *common |
| 41 | + artifact_paths: |
| 42 | + - logs/**/* |
| 43 | + env: |
| 44 | + WORKER_TYPE: "UnityClient" |
| 45 | + BUILD_TARGET: "cloud" |
| 46 | + SCRIPTING_TYPE: "mono" |
| 47 | + |
| 48 | + - label: "build UnityClient il2cpp" |
| 49 | + command: bash -c .shared-ci/scripts/build-worker.sh |
| 50 | + <<: *common |
| 51 | + artifact_paths: |
| 52 | + - logs/**/* |
| 53 | + env: |
| 54 | + WORKER_TYPE: "UnityClient" |
| 55 | + BUILD_TARGET: "local" |
| 56 | + SCRIPTING_TYPE: "il2cpp" |
| 57 | + |
| 58 | + - label: "build UnityGameLogic mono" |
| 59 | + command: bash -c .shared-ci/scripts/build-worker.sh |
| 60 | + <<: *common |
| 61 | + artifact_paths: |
| 62 | + - logs/**/* |
| 63 | + env: |
| 64 | + WORKER_TYPE: "UnityGameLogic" |
| 65 | + BUILD_TARGET: "cloud" |
| 66 | + SCRIPTING_TYPE: "mono" |
0 commit comments