|
25 | 25 | - move /Y .\Assets\Samples.meta .\Packages\com.unity.inputsystem |
26 | 26 | - upm-ci package pack --package-path ./Packages/com.unity.inputsystem/ |
27 | 27 | # Run upm-ci verification tests as well as tests contained in the package. |
28 | | - - upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} %EDITOR_REVISION_OVERRIDE% {% endif %} |
| 28 | + - upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {% if EDITOR_REVISION_OVERRIDE == none %} {{ editor.version }} {% else %} %EDITOR_REVISION_OVERRIDE% {% endif %} |
29 | 29 | {% if platform.name == "win" %} --enable-code-coverage --code-coverage-options "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" |
30 | 30 | --extra-utr-arg="--coverage-results-path={{ yamato_source_dir_win }}/upm-ci~/test-results/CodeCoverage/Package" {% endif %} |
31 | 31 | {% if platform.installscript %} |
32 | 32 | - {{ unity_downloader_install }} |
33 | | - - {{ platform.installscript }} {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} %EDITOR_REVISION_OVERRIDE% {% endif %} |
| 33 | + - {{ platform.installscript }} {% if EDITOR_REVISION_OVERRIDE == none %} {{ editor.version }} {% else %} %EDITOR_REVISION_OVERRIDE% {% endif %} |
34 | 34 | {% endif %} |
35 | 35 | # ADBv2 on 2019.4 causes the test runner to not start on initial import when the |
36 | 36 | # samples are in the package. Move the samples back into the project. |
|
70 | 70 | - mv ./Assets/Samples.meta ./Packages/com.unity.inputsystem |
71 | 71 | - upm-ci package pack --package-path ./Packages/com.unity.inputsystem/ |
72 | 72 | # Run upm-ci verification tests as well as tests contained in the package. |
73 | | - - 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 %} |
| 73 | + - 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 %} |
74 | 74 | {% if platform.installscript %} |
75 | 75 | - {{ unity_downloader_install }} |
76 | 76 | - {{ platform.installscript }} {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} $EDITOR_REVISION_OVERRIDE {% endif %} |
@@ -105,7 +105,7 @@ build_ios_{{ editor.version }}_{{ category.name }}: |
105 | 105 | commands: |
106 | 106 | - {{ utr_install_nix }} |
107 | 107 | - {{ unity_downloader_install }} |
108 | | - - unity-downloader-cli -c Editor -c iOS -u {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} $EDITOR_REVISION_OVERRIDE {% endif %} --fast --wait |
| 108 | + - unity-downloader-cli -c Editor -c iOS -u {% if EDITOR_REVISION_OVERRIDE == none %} {{ editor.version }} {% else %} $EDITOR_REVISION_OVERRIDE {% endif %} --fast --wait |
109 | 109 | - ./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 |
110 | 110 | after: |
111 | 111 | - {{ instabilities_install_nix }} |
@@ -153,7 +153,7 @@ build_tvos_{{ editor.version }}: |
153 | 153 | commands: |
154 | 154 | - {{ utr_install_nix }} |
155 | 155 | - {{ unity_downloader_install }} |
156 | | - - unity-downloader-cli -c Editor -c AppleTV -u {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} $EDITOR_REVISION_OVERRIDE {% endif %} --fast --wait |
| 156 | + - unity-downloader-cli -c Editor -c AppleTV -u {% if EDITOR_REVISION_OVERRIDE == none %} {{ editor.version }} {% else %} $EDITOR_REVISION_OVERRIDE {% endif %} --fast --wait |
157 | 157 | - ./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 |
158 | 158 | after: |
159 | 159 | - {{ instabilities_install_nix }} |
@@ -201,7 +201,7 @@ build_android_{{ editor.version }}_{{ backend.name }}_{{ category.name }}: |
201 | 201 | commands: |
202 | 202 | - {{ utr_install_win }} |
203 | 203 | - {{ unity_downloader_install }} |
204 | | - - unity-downloader-cli -c Editor -c Android -u {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} %EDITOR_REVISION_OVERRIDE% {% endif %} --fast --wait |
| 204 | + - unity-downloader-cli -c Editor -c Android -u {% if EDITOR_REVISION_OVERRIDE == none %} {{ editor.version }} {% else %} %EDITOR_REVISION_OVERRIDE% {% endif %} --fast --wait |
205 | 205 | - ./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 |
206 | 206 | after: |
207 | 207 | - {{ instabilities_install_win }} |
|
0 commit comments