|
68 | 68 | - mv ./Assets/Samples.meta ./Packages/com.unity.inputsystem |
69 | 69 | - upm-ci package pack --package-path ./Packages/com.unity.inputsystem/ |
70 | 70 | # Run upm-ci verification tests as well as tests contained in the package. |
71 | | - - upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {{ editor.version }} {% if platform.name == "mac" or platform.name == "linux" %} --enable-code-coverage --code-coverage-options "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --extra-utr-arg="--coverage-results-path={{ yamato_source_dir_nix }}/upm-ci~/test-results/CodeCoverage/Package" {% endif %} |
| 71 | + - upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} %EDITOR_REVISION_OVERRIDE% {% endif %} {% if platform.name == "mac" or platform.name == "linux" %} --enable-code-coverage --code-coverage-options "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --extra-utr-arg="--coverage-results-path={{ yamato_source_dir_nix }}/upm-ci~/test-results/CodeCoverage/Package" {% endif %} |
72 | 72 | {% if platform.installscript %} |
73 | 73 | - {{ unity_downloader_install }} |
74 | | - - {{ platform.installscript }} {{ editor.version }} |
| 74 | + - {{ platform.installscript }} {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} %EDITOR_REVISION_OVERRIDE% {% endif %} |
75 | 75 | {% endif %} |
76 | 76 | # ADBv2 on 2019.4 causes the test runner to not start on initial import when the |
77 | 77 | # samples are in the package. Move the samples back into the project. |
@@ -101,7 +101,7 @@ build_ios_{{ editor.version }}_{{ category.name }}: |
101 | 101 | commands: |
102 | 102 | - {{ utr_install_nix }} |
103 | 103 | - {{ unity_downloader_install }} |
104 | | - - unity-downloader-cli -c Editor -c iOS -u {{ editor.version }} --fast --wait |
| 104 | + - unity-downloader-cli -c Editor -c iOS -u {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} %EDITOR_REVISION_OVERRIDE% {% endif %} --fast --wait |
105 | 105 | - ./utr --suite=playmode {% if category.name == "performance" %} --category=Performance {% endif %} --platform=iOS --editor-location=.Editor --testproject=. --player-save-path=build/players --artifacts_path=build/logs --build-only --report-performance-data --performance-project-id=InputSystem |
106 | 106 | after: |
107 | 107 | - {{ instabilities_install_nix }} |
@@ -145,7 +145,7 @@ build_tvos_{{ editor.version }}: |
145 | 145 | commands: |
146 | 146 | - {{ utr_install_nix }} |
147 | 147 | - {{ unity_downloader_install }} |
148 | | - - unity-downloader-cli -c Editor -c AppleTV -u {{ editor.version }} --fast --wait |
| 148 | + - unity-downloader-cli -c Editor -c AppleTV -u {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} %EDITOR_REVISION_OVERRIDE% {% endif %} --fast --wait |
149 | 149 | - ./utr --suite=playmode --platform=tvOS --editor-location=.Editor --testproject=. --player-save-path=build/players --artifacts_path=build/logs --build-only --report-performance-data --performance-project-id=InputSystem |
150 | 150 | after: |
151 | 151 | - {{ instabilities_install_nix }} |
@@ -189,7 +189,7 @@ build_android_{{ editor.version }}_{{ backend.name }}_{{ category.name }}: |
189 | 189 | commands: |
190 | 190 | - {{ utr_install_win }} |
191 | 191 | - {{ unity_downloader_install }} |
192 | | - - unity-downloader-cli -c Editor -c Android -u {{ editor.version }} --fast --wait |
| 192 | + - unity-downloader-cli -c Editor -c Android -u {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} %EDITOR_REVISION_OVERRIDE% {% endif %} --fast --wait |
193 | 193 | - ./utr --suite=playmode {% if category.name == "performance" %} --category=Performance {% endif %} --platform=Android --editor-location=.Editor --testproject=. --player-save-path=build/players --artifacts_path=build/logs --scripting-backend={{ backend.name }} --build-only --repository --performance-project-id=InputSystem |
194 | 194 | after: |
195 | 195 | - {{ instabilities_install_win }} |
|
0 commit comments