|
| 1 | +aliases: |
| 2 | + - &6000 "6000.0.25f1" |
| 3 | + |
| 4 | +agents: |
| 5 | + queue: macos-14 |
| 6 | + |
| 7 | +steps: |
| 8 | + - group: ":hammer: Build Unity 6000 Test Fixtures" |
| 9 | + steps: |
| 10 | + - label: ':macos: Build macos test fixture for Unity 2022' |
| 11 | + timeout_in_minutes: 30 |
| 12 | + key: build-macos-fixture-6000 |
| 13 | + depends_on: build-artifacts |
| 14 | + env: |
| 15 | + UNITY_PERFORMANCE_VERSION: *6000 |
| 16 | + plugins: |
| 17 | + 'artifacts#v1.9.0': |
| 18 | + download: |
| 19 | + - upm-package.zip |
| 20 | + upload: |
| 21 | + - features/fixtures/mazerunner/mazerunner_macos_6000.zip |
| 22 | + - features/fixtures/build_macos.log |
| 23 | + commands: |
| 24 | + - bundle install |
| 25 | + - 'rake test:macos:build' |
| 26 | + retry: |
| 27 | + automatic: |
| 28 | + - exit_status: '*' |
| 29 | + limit: 1 |
| 30 | + |
| 31 | + - label: ':windows: Build Windows test fixture for Unity 6000' |
| 32 | + timeout_in_minutes: 30 |
| 33 | + key: build-windows-fixture-6000 |
| 34 | + depends_on: build-artifacts |
| 35 | + agents: |
| 36 | + queue: windows-unity-wsl |
| 37 | + env: |
| 38 | + UNITY_PERFORMANCE_VERSION: *6000 |
| 39 | + plugins: |
| 40 | + 'artifacts#v1.9.0': |
| 41 | + download: |
| 42 | + - upm-package.zip |
| 43 | + upload: |
| 44 | + - features/fixtures/mazerunner/build/Windows-6000.zip |
| 45 | + - features/fixtures/build_windows.log |
| 46 | + commands: |
| 47 | + - features/scripts/import_package.sh --windows |
| 48 | + - features/scripts/build_windows.sh release |
| 49 | + retry: |
| 50 | + automatic: |
| 51 | + - exit_status: '*' |
| 52 | + limit: 1 |
| 53 | + |
| 54 | + - label: ':android: Build Android test fixture for Unity 6000' |
| 55 | + timeout_in_minutes: 30 |
| 56 | + key: build-android-fixture-6000 |
| 57 | + depends_on: build-artifacts |
| 58 | + env: |
| 59 | + UNITY_PERFORMANCE_VERSION: *6000 |
| 60 | + plugins: |
| 61 | + 'artifacts#v1.9.0': |
| 62 | + download: |
| 63 | + - upm-package.zip |
| 64 | + upload: |
| 65 | + - features/fixtures/mazerunner/mazerunner_6000.apk |
| 66 | + - features/fixtures/import_package.log |
| 67 | + - features/fixtures/build_android.log |
| 68 | + commands: |
| 69 | + - bundle install |
| 70 | + - 'rake test:android:build' |
| 71 | + retry: |
| 72 | + automatic: |
| 73 | + - exit_status: '*' |
| 74 | + limit: 1 |
| 75 | + |
| 76 | + - label: ':ios: Generate Xcode project - Unity 6000' |
| 77 | + timeout_in_minutes: 30 |
| 78 | + key: generate-fixture-project-6000 |
| 79 | + depends_on: build-artifacts |
| 80 | + env: |
| 81 | + UNITY_PERFORMANCE_VERSION: *6000 |
| 82 | + plugins: |
| 83 | + 'artifacts#v1.9.0': |
| 84 | + download: |
| 85 | + - upm-package.zip |
| 86 | + upload: |
| 87 | + - features/fixtures/generateXcodeProject.log |
| 88 | + - project_6000.tgz |
| 89 | + commands: |
| 90 | + - bundle install |
| 91 | + - 'rake test:ios:generate_xcode' |
| 92 | + - tar -zvcf project_6000.tgz features/fixtures/mazerunner/mazerunner_xcode |
| 93 | + retry: |
| 94 | + automatic: |
| 95 | + - exit_status: '*' |
| 96 | + limit: 1 |
| 97 | + |
| 98 | + - label: ':ios: Build iOS test fixture for Unity 6000' |
| 99 | + timeout_in_minutes: 30 |
| 100 | + key: build-ios-fixture-6000 |
| 101 | + depends_on: generate-fixture-project-6000 |
| 102 | + env: |
| 103 | + XCODE_VERSION: 15.3.0 |
| 104 | + UNITY_PERFORMANCE_VERSION: *6000 |
| 105 | + plugins: |
| 106 | + 'artifacts#v1.9.0': |
| 107 | + download: |
| 108 | + - project_6000.tgz |
| 109 | + upload: |
| 110 | + - features/fixtures/mazerunner/mazerunner_6000.ipa |
| 111 | + - features/fixtures/unity.log |
| 112 | + commands: |
| 113 | + - bundle install |
| 114 | + - tar -zxf project_6000.tgz features/fixtures/mazerunner |
| 115 | + - 'rake test:ios:build_xcode' |
| 116 | + retry: |
| 117 | + automatic: |
| 118 | + - exit_status: '*' |
| 119 | + limit: 1 |
| 120 | + |
| 121 | + - group: ":test_tube: E2E Tests Unity 6000" |
| 122 | + steps: |
| 123 | + - label: Run MacOS e2e tests for Unity 6000 |
| 124 | + timeout_in_minutes: 60 |
| 125 | + depends_on: build-macos-fixture-6000 |
| 126 | + env: |
| 127 | + UNITY_PERFORMANCE_VERSION: *6000 |
| 128 | + plugins: |
| 129 | + 'artifacts#v1.9.0': |
| 130 | + download: |
| 131 | + - features/fixtures/mazerunner/mazerunner_macos_6000.zip |
| 132 | + upload: |
| 133 | + - maze_output/**/* |
| 134 | + - '*-mazerunner.log' |
| 135 | + - 'clear_cache.log' |
| 136 | + - maze_output/metrics.csv |
| 137 | + test-collector#v1.10.2: |
| 138 | + files: "reports/TEST-*.xml" |
| 139 | + format: "junit" |
| 140 | + branch: "^main|next$$" |
| 141 | + commands: |
| 142 | + - features/scripts/run-macos-ci-tests.sh release |
| 143 | + |
| 144 | + - label: Run Windows e2e tests for Unity 6000 |
| 145 | + timeout_in_minutes: 60 |
| 146 | + depends_on: build-windows-fixture-6000 |
| 147 | + agents: |
| 148 | + queue: windows-unity-wsl |
| 149 | + env: |
| 150 | + UNITY_PERFORMANCE_VERSION: *6000 |
| 151 | + plugins: |
| 152 | + 'artifacts#v1.5.0': |
| 153 | + download: |
| 154 | + - features/fixtures/mazerunner/build/Windows-6000.zip |
| 155 | + upload: |
| 156 | + - maze_output/**/* |
| 157 | + - '*-mazerunner.log' |
| 158 | + - 'clear_cache.log' |
| 159 | + - maze_output/metrics.csv |
| 160 | + test-collector#v1.10.2: |
| 161 | + files: "reports/TEST-*.xml" |
| 162 | + format: "junit" |
| 163 | + branch: "^main|next$$" |
| 164 | + commands: |
| 165 | + - features/scripts/run-windows-ci-tests.sh release |
| 166 | + |
| 167 | + - label: ':bitbar: Run Android e2e tests for Unity 6000' |
| 168 | + timeout_in_minutes: 60 |
| 169 | + depends_on: build-android-fixture-6000 |
| 170 | + agents: |
| 171 | + queue: opensource |
| 172 | + plugins: |
| 173 | + 'artifacts#v1.9.0': |
| 174 | + download: |
| 175 | + - features/fixtures/mazerunner/mazerunner_6000.apk |
| 176 | + upload: |
| 177 | + - maze_output/**/* |
| 178 | + 'docker-compose#v4.8.0': |
| 179 | + pull: maze-runner |
| 180 | + run: maze-runner |
| 181 | + service-ports: true |
| 182 | + command: |
| 183 | + - '--app=/app/features/fixtures/mazerunner/mazerunner_6000.apk' |
| 184 | + - '--farm=bb' |
| 185 | + - '--device=ANDROID_9|ANDROID_10|ANDROID_11|ANDROID_12|ANDROID_13' |
| 186 | + - '--appium-version=1.22' |
| 187 | + - '--no-tunnel' |
| 188 | + - '--aws-public-ip' |
| 189 | + - '--fail-fast' |
| 190 | + test-collector#v1.10.2: |
| 191 | + files: "reports/TEST-*.xml" |
| 192 | + format: "junit" |
| 193 | + branch: "^main|next$$" |
| 194 | + concurrency: 25 |
| 195 | + concurrency_group: bitbar |
| 196 | + concurrency_method: eager |
| 197 | + |
| 198 | + - label: ':bitbar: Run iOS e2e tests for Unity 6000' |
| 199 | + timeout_in_minutes: 60 |
| 200 | + depends_on: build-ios-fixture-6000 |
| 201 | + agents: |
| 202 | + queue: opensource |
| 203 | + plugins: |
| 204 | + 'artifacts#v1.9.0': |
| 205 | + download: |
| 206 | + - features/fixtures/mazerunner/mazerunner_6000.ipa |
| 207 | + upload: |
| 208 | + - maze_output/**/* |
| 209 | + 'docker-compose#v4.8.0': |
| 210 | + pull: maze-runner |
| 211 | + run: maze-runner |
| 212 | + service-ports: true |
| 213 | + command: |
| 214 | + - '--app=/app/features/fixtures/mazerunner/mazerunner_6000.ipa' |
| 215 | + - '--farm=bb' |
| 216 | + - '--device=IOS_15' |
| 217 | + - '--no-tunnel' |
| 218 | + - '--aws-public-ip' |
| 219 | + - '--fail-fast' |
| 220 | + test-collector#v1.10.2: |
| 221 | + files: "reports/TEST-*.xml" |
| 222 | + format: "junit" |
| 223 | + branch: "^main|next$$" |
| 224 | + concurrency: 25 |
| 225 | + concurrency_group: bitbar |
| 226 | + concurrency_method: eager |
0 commit comments