7
7
# You may find the example pipeline steps listed here helpful: https://buildkite.com/docs/pipelines/defining-steps#example-pipeline but please
8
8
# note that the setup is already done, so you should not manually adjust anything through the BuildKite interface.
9
9
#
10
- common : &common
10
+ windows : &windows
11
11
agents :
12
12
- " capable_of_building=gdk-for-unity"
13
13
- " environment=production"
@@ -45,13 +45,33 @@ macos: &macos
45
45
- exit_status : -1
46
46
limit : 3
47
47
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
+
48
64
# NOTE: step labels turn into commit-status names like {org}/{repo}/{pipeline}/{step-label}, lower-case and hyphenated.
49
65
# These are then relied on to have stable names by other things, so once named, please beware renaming has consequences.
50
66
51
67
steps :
68
+ - label : " :debian: ~ lint :lint-roller:"
69
+ command : bash -c ci/lint.sh
70
+ << : *linux
71
+
52
72
- label : " :windows: ~ build :android:"
53
73
command : bash -c .shared-ci/scripts/build-worker.sh
54
- << : *common
74
+ << : *windows
55
75
artifact_paths :
56
76
- logs/**/*
57
77
env :
74
94
75
95
- label : " :windows: ~ build UnityClient mono"
76
96
command : bash -c .shared-ci/scripts/build-worker.sh
77
- << : *common
97
+ << : *windows
78
98
artifact_paths :
79
99
- logs/**/*
80
100
env :
@@ -84,7 +104,7 @@ steps:
84
104
85
105
- label : " :windows: ~ build UnityClient il2cpp"
86
106
command : bash -c .shared-ci/scripts/build-worker.sh
87
- << : *common
107
+ << : *windows
88
108
artifact_paths :
89
109
- logs/**/*
90
110
env :
@@ -94,7 +114,7 @@ steps:
94
114
95
115
- label : " :windows: ~ build UnityGameLogic mono"
96
116
command : bash -c .shared-ci/scripts/build-worker.sh
97
- << : *common
117
+ << : *windows
98
118
artifact_paths :
99
119
- logs/**/*
100
120
env :
0 commit comments