Skip to content

Commit e385518

Browse files
committed
update other jobs for revision override
1 parent 332079c commit e385518

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.yamato/upm-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@
6868
- mv ./Assets/Samples.meta ./Packages/com.unity.inputsystem
6969
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
7070
# 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 %}
7272
{% if platform.installscript %}
7373
- {{ unity_downloader_install }}
74-
- {{ platform.installscript }} {{ editor.version }}
74+
- {{ platform.installscript }} {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} %EDITOR_REVISION_OVERRIDE% {% endif %}
7575
{% endif %}
7676
# ADBv2 on 2019.4 causes the test runner to not start on initial import when the
7777
# samples are in the package. Move the samples back into the project.
@@ -101,7 +101,7 @@ build_ios_{{ editor.version }}_{{ category.name }}:
101101
commands:
102102
- {{ utr_install_nix }}
103103
- {{ 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
105105
- ./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
106106
after:
107107
- {{ instabilities_install_nix }}
@@ -145,7 +145,7 @@ build_tvos_{{ editor.version }}:
145145
commands:
146146
- {{ utr_install_nix }}
147147
- {{ 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
149149
- ./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
150150
after:
151151
- {{ instabilities_install_nix }}
@@ -189,7 +189,7 @@ build_android_{{ editor.version }}_{{ backend.name }}_{{ category.name }}:
189189
commands:
190190
- {{ utr_install_win }}
191191
- {{ 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
193193
- ./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
194194
after:
195195
- {{ instabilities_install_win }}

0 commit comments

Comments
 (0)