|
| 1 | +# Auto-generated by Recipe Engine, do not modify manually. |
| 2 | +# This job is generated by the wrench recipe engine module. |
| 3 | + |
| 4 | +# upm-ci validation tests for API Validation - netcode.gameobjects - 2021.3 - windows (2021.3 - Windows). |
| 5 | +api_validation_-_netcode_gameobjects_-_2021_3_-_windows: |
| 6 | + name: API Validation - netcode.gameobjects - 2021.3 - windows |
| 7 | + agent: |
| 8 | + image: package-ci/win10:default |
| 9 | + type: Unity::VM |
| 10 | + flavor: b1.large |
| 11 | + commands: |
| 12 | + - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-54_4ed3929f39f0279ecefec81a437d0eb42e21a4f9c6469a88d31e8f3d764709fe.zip -o wrench-localapv.zip |
| 13 | + - command: 7z x -aoa wrench-localapv.zip |
| 14 | + - command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple |
| 15 | + - command: python PythonScripts/print_machine_info.py |
| 16 | + - command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm |
| 17 | + timeout: 20 |
| 18 | + retries: 10 |
| 19 | + - command: unity-downloader-cli -u 2021.3 -c Editor --fast |
| 20 | + timeout: 10 |
| 21 | + retries: 3 |
| 22 | + - command: python PythonScripts/PackageJsonCondersor.py |
| 23 | + timeout: 1 |
| 24 | + retries: 0 |
| 25 | + - command: upm-ci package test -u .Editor --package-path com.unity.netcode.gameobjects --type vetting-tests || exit 0 |
| 26 | + timeout: 30 |
| 27 | + retries: 0 |
| 28 | + - command: python PythonScripts/parse_upm_ci_results.py --package-path=com.unity.netcode.gameobjects |
| 29 | + timeout: 2 |
| 30 | + retries: 0 |
| 31 | + after: |
| 32 | + - command: cmd.exe /c "curl -s https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/setup/run_standalone_instability_detection-latest.bat --output run_standalone_instability_detection-latest.bat --retry 5 || exit 0" |
| 33 | + - command: cmd.exe /c "run_standalone_instability_detection-latest.bat 0.5.0 || exit 0" |
| 34 | + timeout: 10 |
| 35 | + retries: 1 |
| 36 | + artifacts: |
| 37 | + Crash Dumps: |
| 38 | + paths: |
| 39 | + - CrashDumps/** |
| 40 | + logs: |
| 41 | + paths: |
| 42 | + - '*.log' |
| 43 | + - '*.xml' |
| 44 | + - upm-ci~/test-results/**/* |
| 45 | + - upm-ci~/temp/*/Logs/** |
| 46 | + - upm-ci~/temp/*/Library/*.log |
| 47 | + - upm-ci~/temp/*/*.log |
| 48 | + - upm-ci~/temp/Builds/*.log |
| 49 | + browsable: onNonSuccess |
| 50 | + dependencies: |
| 51 | + - path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_netcode_gameobjects |
| 52 | + variables: |
| 53 | + UPMPVP_CONTEXT_WRENCH: 0.10.31.0 |
| 54 | + triggers: |
| 55 | + expression: push.branch match "^release/.*" |
| 56 | + cancel_old_ci: true |
| 57 | + metadata: |
| 58 | + Job Maintainers: '#rm-packageworks' |
| 59 | + Wrench: 0.10.31.0 |
| 60 | + |
0 commit comments