77# You may find the example pipeline steps listed here helpful: https://buildkite.com/docs/pipelines/defining-steps#example-pipeline but please
88# note that the setup is already done, so you should not manually adjust anything through the BuildKite interface.
99#
10- common : &common
10+ windows : &windows
1111 agents :
1212 - " capable_of_building=gdk-for-unity"
1313 - " environment=production"
@@ -45,13 +45,33 @@ macos: &macos
4545 - exit_status : -1
4646 limit : 3
4747
48+ linux : &linux
49+ agents :
50+ - " capable_of_building=gdk-for-unity"
51+ - " environment=production"
52+ - " permission_set=builder"
53+ - " platform=linux" # if you need a different platform, configure this: macos|linux|windows.
54+ - " queue=v3-1562766449-11b126f880607f28-------z"
55+ - " scaler_version=2"
56+ timeout_in_minutes : 60 # TODO(ENG-548): reduce timeout once agent-cold-start is optimised.
57+ retry :
58+ automatic :
59+ # This is designed to trap and retry failures because agent lost connection. Agent exits with -1 in this case.
60+ - exit_status : -1
61+ limit : 3
62+
63+
4864# NOTE: step labels turn into commit-status names like {org}/{repo}/{pipeline}/{step-label}, lower-case and hyphenated.
4965# These are then relied on to have stable names by other things, so once named, please beware renaming has consequences.
5066
5167steps :
68+ - label : " :debian: ~ lint :lint-roller:"
69+ command : bash -c ci/lint.sh
70+ << : *linux
71+
5272 - label : " :windows: ~ build :android:"
5373 command : bash -c .shared-ci/scripts/build-worker.sh
54- << : *common
74+ << : *windows
5575 artifact_paths :
5676 - logs/**/*
5777 env :
7494
7595 - label : " :windows: ~ build UnityClient mono"
7696 command : bash -c .shared-ci/scripts/build-worker.sh
77- << : *common
97+ << : *windows
7898 artifact_paths :
7999 - logs/**/*
80100 env :
@@ -84,7 +104,7 @@ steps:
84104
85105 - label : " :windows: ~ build UnityClient il2cpp"
86106 command : bash -c .shared-ci/scripts/build-worker.sh
87- << : *common
107+ << : *windows
88108 artifact_paths :
89109 - logs/**/*
90110 env :
@@ -94,7 +114,7 @@ steps:
94114
95115 - label : " :windows: ~ build UnityGameLogic mono"
96116 command : bash -c .shared-ci/scripts/build-worker.sh
97- << : *common
117+ << : *windows
98118 artifact_paths :
99119 - logs/**/*
100120 env :
0 commit comments