Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 58 additions & 3 deletions .yamato/input-system-editor-functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ inputsystem-editorfunctionaltests_-_6000_5_-_macos:
flavor: b1.xlarge
commands:
- command: git clone --branch "2.3.0-preview" git@github.cds.internal.unity3d.com:unity/com.unity.package-manager-doctools.git Packages/com.unity.package-manager-doctools
- command: unity-downloader-cli -u trunk -c Editor --fast --wait
- command: unity-downloader-cli -u 6000.5/staging -c Editor --fast --wait
- command: UnifiedTestRunner --testproject=. --editor-location=.Editor --suite=Editor --suite=Playmode --category=!Performance --clean-library --api-profile=NET_4_6 --reruncount=1 --clean-library-on-rerun --enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem*;pathReplacePatterns:@*,,**/PackageCache/,;sourcePaths:$YAMATO_SOURCE_DIR/Packages;" --coverage-results-path=$YAMATO_SOURCE_DIR/upm-ci~/CodeCoverage --coverage-upload-options="reportsDir:upm-ci~/CodeCoverage;name:inputsystem_MacOS_6000.5_project;flags:inputsystem_MacOS_6000.5_project" --timeout=3600 --artifacts-path=artifacts
after:
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
Expand All @@ -247,7 +247,7 @@ inputsystem-editorfunctionaltests_-_6000_5_-_ubuntu:
flavor: b1.large
commands:
- command: git clone --branch "2.3.0-preview" git@github.cds.internal.unity3d.com:unity/com.unity.package-manager-doctools.git Packages/com.unity.package-manager-doctools
- command: unity-downloader-cli -u trunk -c Editor --fast --wait
- command: unity-downloader-cli -u 6000.5/staging -c Editor --fast --wait
- command: UnifiedTestRunner --testproject=. --editor-location=.Editor --suite=Editor --suite=Playmode --category=!Performance --clean-library --api-profile=NET_4_6 --reruncount=1 --clean-library-on-rerun --enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem*;pathReplacePatterns:@*,,**/PackageCache/,;sourcePaths:$YAMATO_SOURCE_DIR/Packages;" --coverage-results-path=$YAMATO_SOURCE_DIR/upm-ci~/CodeCoverage --coverage-upload-options="reportsDir:upm-ci~/CodeCoverage;name:inputsystem_Ubuntu_6000.5_project;flags:inputsystem_Ubuntu_6000.5_project" --timeout=3600 --artifacts-path=artifacts
after:
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh
Expand All @@ -266,7 +266,7 @@ inputsystem-editorfunctionaltests_-_6000_5_-_windows:
commands:
- command: '%GSUDO% choco install netfx-4.7.1-devpack -y --ignore-detected-reboot --ignore-package-codes'
- command: git clone --branch "2.3.0-preview" git@github.cds.internal.unity3d.com:unity/com.unity.package-manager-doctools.git Packages/com.unity.package-manager-doctools
- command: unity-downloader-cli -u trunk -c Editor --fast --wait
- command: unity-downloader-cli -u 6000.5/staging -c Editor --fast --wait
- command: UnifiedTestRunner.exe --testproject=. --editor-location=.Editor --suite=Editor --suite=Playmode --category=!Performance --clean-library --api-profile=NET_4_6 --reruncount=1 --clean-library-on-rerun --enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem*;pathReplacePatterns:@*,,**/PackageCache/,;sourcePaths:%YAMATO_SOURCE_DIR%/Packages;" --coverage-results-path=%YAMATO_SOURCE_DIR%/upm-ci~/CodeCoverage --coverage-upload-options="reportsDir:upm-ci~/CodeCoverage;name:inputsystem_Windows_6000.5_project;flags:inputsystem_Windows_6000.5_project" --timeout=3600 --artifacts-path=artifacts
after:
- command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd
Expand All @@ -275,3 +275,58 @@ inputsystem-editorfunctionaltests_-_6000_5_-_windows:
paths:
- artifacts/**/*

# InputSystem-EditorFunctionalTests - 6000.6 - MacOS
inputsystem-editorfunctionaltests_-_6000_6_-_macos:
name: InputSystem-EditorFunctionalTests - 6000.6 - MacOS
agent:
image: package-ci/macos-13:default
type: Unity::VM::osx
flavor: b1.xlarge
commands:
- command: git clone --branch "2.3.0-preview" git@github.cds.internal.unity3d.com:unity/com.unity.package-manager-doctools.git Packages/com.unity.package-manager-doctools
- command: unity-downloader-cli -u trunk -c Editor --fast --wait
- command: UnifiedTestRunner --testproject=. --editor-location=.Editor --suite=Editor --suite=Playmode --category=!Performance --clean-library --api-profile=NET_4_6 --reruncount=1 --clean-library-on-rerun --enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem*;pathReplacePatterns:@*,,**/PackageCache/,;sourcePaths:$YAMATO_SOURCE_DIR/Packages;" --coverage-results-path=$YAMATO_SOURCE_DIR/upm-ci~/CodeCoverage --coverage-upload-options="reportsDir:upm-ci~/CodeCoverage;name:inputsystem_MacOS_6000.6_project;flags:inputsystem_MacOS_6000.6_project" --timeout=3600 --artifacts-path=artifacts
after:
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
artifacts:
artifacts:
paths:
- artifacts/**/*

# InputSystem-EditorFunctionalTests - 6000.6 - Ubuntu
inputsystem-editorfunctionaltests_-_6000_6_-_ubuntu:
name: InputSystem-EditorFunctionalTests - 6000.6 - Ubuntu
agent:
image: package-ci/ubuntu-22.04:default
type: Unity::VM
flavor: b1.large
commands:
- command: git clone --branch "2.3.0-preview" git@github.cds.internal.unity3d.com:unity/com.unity.package-manager-doctools.git Packages/com.unity.package-manager-doctools
- command: unity-downloader-cli -u trunk -c Editor --fast --wait
- command: UnifiedTestRunner --testproject=. --editor-location=.Editor --suite=Editor --suite=Playmode --category=!Performance --clean-library --api-profile=NET_4_6 --reruncount=1 --clean-library-on-rerun --enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem*;pathReplacePatterns:@*,,**/PackageCache/,;sourcePaths:$YAMATO_SOURCE_DIR/Packages;" --coverage-results-path=$YAMATO_SOURCE_DIR/upm-ci~/CodeCoverage --coverage-upload-options="reportsDir:upm-ci~/CodeCoverage;name:inputsystem_Ubuntu_6000.6_project;flags:inputsystem_Ubuntu_6000.6_project" --timeout=3600 --artifacts-path=artifacts
after:
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh
artifacts:
artifacts:
paths:
- artifacts/**/*

# InputSystem-EditorFunctionalTests - 6000.6 - Windows
inputsystem-editorfunctionaltests_-_6000_6_-_windows:
name: InputSystem-EditorFunctionalTests - 6000.6 - Windows
agent:
image: package-ci/win10:default
type: Unity::VM
flavor: b1.large
commands:
- command: '%GSUDO% choco install netfx-4.7.1-devpack -y --ignore-detected-reboot --ignore-package-codes'
- command: git clone --branch "2.3.0-preview" git@github.cds.internal.unity3d.com:unity/com.unity.package-manager-doctools.git Packages/com.unity.package-manager-doctools
- command: unity-downloader-cli -u trunk -c Editor --fast --wait
- command: UnifiedTestRunner.exe --testproject=. --editor-location=.Editor --suite=Editor --suite=Playmode --category=!Performance --clean-library --api-profile=NET_4_6 --reruncount=1 --clean-library-on-rerun --enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem*;pathReplacePatterns:@*,,**/PackageCache/,;sourcePaths:%YAMATO_SOURCE_DIR%/Packages;" --coverage-results-path=%YAMATO_SOURCE_DIR%/upm-ci~/CodeCoverage --coverage-upload-options="reportsDir:upm-ci~/CodeCoverage;name:inputsystem_Windows_6000.6_project;flags:inputsystem_Windows_6000.6_project" --timeout=3600 --artifacts-path=artifacts
after:
- command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd
artifacts:
artifacts:
paths:
- artifacts/**/*

59 changes: 57 additions & 2 deletions .yamato/input-system-editor-performance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ inputsystem-editorperformancetests_-_6000_5_-_macos:
flavor: b1.xlarge
commands:
- command: git clone --branch "2.3.0-preview" git@github.cds.internal.unity3d.com:unity/com.unity.package-manager-doctools.git Packages/com.unity.package-manager-doctools
- command: unity-downloader-cli -u trunk -c Editor --fast --wait
- command: unity-downloader-cli -u 6000.5/staging -c Editor --fast --wait
- command: UnifiedTestRunner --testproject=. --editor-location=.Editor --suite=Editor --suite=Playmode --category=Performance --clean-library --api-profile=NET_4_6 --reruncount=1 --clean-library-on-rerun --report-performance-data --performance-project-id=InputSystem --timeout=3600 --artifacts-path=artifacts
after:
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
Expand All @@ -247,7 +247,7 @@ inputsystem-editorperformancetests_-_6000_5_-_ubuntu:
flavor: b1.large
commands:
- command: git clone --branch "2.3.0-preview" git@github.cds.internal.unity3d.com:unity/com.unity.package-manager-doctools.git Packages/com.unity.package-manager-doctools
- command: unity-downloader-cli -u trunk -c Editor --fast --wait
- command: unity-downloader-cli -u 6000.5/staging -c Editor --fast --wait
- command: UnifiedTestRunner --testproject=. --editor-location=.Editor --suite=Editor --suite=Playmode --category=Performance --clean-library --api-profile=NET_4_6 --reruncount=1 --clean-library-on-rerun --report-performance-data --performance-project-id=InputSystem --timeout=3600 --artifacts-path=artifacts
after:
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh
Expand All @@ -266,6 +266,61 @@ inputsystem-editorperformancetests_-_6000_5_-_windows:
commands:
- command: '%GSUDO% choco install netfx-4.7.1-devpack -y --ignore-detected-reboot --ignore-package-codes'
- command: git clone --branch "2.3.0-preview" git@github.cds.internal.unity3d.com:unity/com.unity.package-manager-doctools.git Packages/com.unity.package-manager-doctools
- command: unity-downloader-cli -u 6000.5/staging -c Editor --fast --wait
- command: UnifiedTestRunner.exe --testproject=. --editor-location=.Editor --suite=Editor --suite=Playmode --category=Performance --clean-library --api-profile=NET_4_6 --reruncount=1 --clean-library-on-rerun --report-performance-data --performance-project-id=InputSystem --timeout=3600 --artifacts-path=artifacts
after:
- command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd
artifacts:
artifacts:
paths:
- artifacts/**/*

# InputSystem-EditorPerformanceTests - 6000.6 - MacOS
inputsystem-editorperformancetests_-_6000_6_-_macos:
name: InputSystem-EditorPerformanceTests - 6000.6 - MacOS
agent:
image: package-ci/macos-13:default
type: Unity::VM::osx
flavor: b1.xlarge
commands:
- command: git clone --branch "2.3.0-preview" git@github.cds.internal.unity3d.com:unity/com.unity.package-manager-doctools.git Packages/com.unity.package-manager-doctools
- command: unity-downloader-cli -u trunk -c Editor --fast --wait
- command: UnifiedTestRunner --testproject=. --editor-location=.Editor --suite=Editor --suite=Playmode --category=Performance --clean-library --api-profile=NET_4_6 --reruncount=1 --clean-library-on-rerun --report-performance-data --performance-project-id=InputSystem --timeout=3600 --artifacts-path=artifacts
after:
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
artifacts:
artifacts:
paths:
- artifacts/**/*

# InputSystem-EditorPerformanceTests - 6000.6 - Ubuntu
inputsystem-editorperformancetests_-_6000_6_-_ubuntu:
name: InputSystem-EditorPerformanceTests - 6000.6 - Ubuntu
agent:
image: package-ci/ubuntu-22.04:default
type: Unity::VM
flavor: b1.large
commands:
- command: git clone --branch "2.3.0-preview" git@github.cds.internal.unity3d.com:unity/com.unity.package-manager-doctools.git Packages/com.unity.package-manager-doctools
- command: unity-downloader-cli -u trunk -c Editor --fast --wait
- command: UnifiedTestRunner --testproject=. --editor-location=.Editor --suite=Editor --suite=Playmode --category=Performance --clean-library --api-profile=NET_4_6 --reruncount=1 --clean-library-on-rerun --report-performance-data --performance-project-id=InputSystem --timeout=3600 --artifacts-path=artifacts
after:
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh
artifacts:
artifacts:
paths:
- artifacts/**/*

# InputSystem-EditorPerformanceTests - 6000.6 - Windows
inputsystem-editorperformancetests_-_6000_6_-_windows:
name: InputSystem-EditorPerformanceTests - 6000.6 - Windows
agent:
image: package-ci/win10:default
type: Unity::VM
flavor: b1.large
commands:
- command: '%GSUDO% choco install netfx-4.7.1-devpack -y --ignore-detected-reboot --ignore-package-codes'
- command: git clone --branch "2.3.0-preview" git@github.cds.internal.unity3d.com:unity/com.unity.package-manager-doctools.git Packages/com.unity.package-manager-doctools
- command: unity-downloader-cli -u trunk -c Editor --fast --wait
- command: UnifiedTestRunner.exe --testproject=. --editor-location=.Editor --suite=Editor --suite=Playmode --category=Performance --clean-library --api-profile=NET_4_6 --reruncount=1 --clean-library-on-rerun --report-performance-data --performance-project-id=InputSystem --timeout=3600 --artifacts-path=artifacts
after:
Expand Down
96 changes: 93 additions & 3 deletions .yamato/input-system-mobile-functional-build-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ inputsystem-mobilefunctionalbuildjobs_-_6000_5_-_android_-_il2cpp:
type: Unity::VM
flavor: b1.xlarge
commands:
- command: unity-downloader-cli -u trunk -c Editor -c Android --fast --wait
- command: unity-downloader-cli -u 6000.5/staging -c Editor -c Android --fast --wait
- command: |-
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
UnifiedTestRunner --testproject=. --editor-location=.Editor --suite=playmode --category=!Performance --clean-library --reruncount=1 --clean-library-on-rerun --build-only --player-save-path=build/players --timeout=3600 --artifacts-path=build/logs --platform=android --scripting-backend=il2cpp
Expand All @@ -388,7 +388,7 @@ inputsystem-mobilefunctionalbuildjobs_-_6000_5_-_android_-_mono:
type: Unity::VM
flavor: b1.xlarge
commands:
- command: unity-downloader-cli -u trunk -c Editor -c Android --fast --wait
- command: unity-downloader-cli -u 6000.5/staging -c Editor -c Android --fast --wait
- command: |-
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
UnifiedTestRunner --testproject=. --editor-location=.Editor --suite=playmode --category=!Performance --clean-library --reruncount=1 --clean-library-on-rerun --build-only --player-save-path=build/players --timeout=3600 --artifacts-path=build/logs --platform=android
Expand All @@ -410,7 +410,7 @@ inputsystem-mobilefunctionalbuildjobs_-_6000_5_-_ios:
type: Unity::VM::osx
flavor: m1.mac
commands:
- command: unity-downloader-cli -u trunk -c Editor -c iOS --fast --wait
- command: unity-downloader-cli -u 6000.5/staging -c Editor -c iOS --fast --wait
- command: |-
curl -s https://artifactory-slo.bf.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
chmod u+x utr
Expand All @@ -436,6 +436,96 @@ inputsystem-mobilefunctionalbuildjobs_-_6000_5_-_tvos:
type: Unity::VM::osx
flavor: m1.mac
commands:
- command: unity-downloader-cli -u 6000.5/staging -c Editor -c AppleTV --fast --wait
- command: UnifiedTestRunner --testproject=. --editor-location=.Editor --suite=playmode --category=!Performance --clean-library --reruncount=1 --clean-library-on-rerun --build-only --player-save-path=build/players --timeout=3600 --artifacts-path=build/logs --platform=tvOS
after:
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
artifacts:
logs:
paths:
- build/logs/**/*
players:
paths:
- build/players/**/*

# InputSystem-MobileFunctionalBuildJobs - 6000.6 - Android - il2cpp
inputsystem-mobilefunctionalbuildjobs_-_6000_6_-_android_-_il2cpp:
name: InputSystem-MobileFunctionalBuildJobs - 6000.6 - Android - il2cpp
agent:
image: package-ci/win10:default
type: Unity::VM
flavor: b1.xlarge
commands:
- command: unity-downloader-cli -u trunk -c Editor -c Android --fast --wait
- command: |-
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
UnifiedTestRunner --testproject=. --editor-location=.Editor --suite=playmode --category=!Performance --clean-library --reruncount=1 --clean-library-on-rerun --build-only --player-save-path=build/players --timeout=3600 --artifacts-path=build/logs --platform=android --scripting-backend=il2cpp
after:
- command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd
artifacts:
logs:
paths:
- build/logs/**/*
players:
paths:
- build/players/**/*

# InputSystem-MobileFunctionalBuildJobs - 6000.6 - Android - mono
inputsystem-mobilefunctionalbuildjobs_-_6000_6_-_android_-_mono:
name: InputSystem-MobileFunctionalBuildJobs - 6000.6 - Android - mono
agent:
image: package-ci/win10:default
type: Unity::VM
flavor: b1.xlarge
commands:
- command: unity-downloader-cli -u trunk -c Editor -c Android --fast --wait
- command: |-
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
UnifiedTestRunner --testproject=. --editor-location=.Editor --suite=playmode --category=!Performance --clean-library --reruncount=1 --clean-library-on-rerun --build-only --player-save-path=build/players --timeout=3600 --artifacts-path=build/logs --platform=android
after:
- command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd
artifacts:
logs:
paths:
- build/logs/**/*
players:
paths:
- build/players/**/*

# InputSystem-MobileFunctionalBuildJobs - 6000.6 - IOS
inputsystem-mobilefunctionalbuildjobs_-_6000_6_-_ios:
name: InputSystem-MobileFunctionalBuildJobs - 6000.6 - IOS
agent:
image: package-ci/macos-13:default
type: Unity::VM::osx
flavor: m1.mac
commands:
- command: unity-downloader-cli -u trunk -c Editor -c iOS --fast --wait
- command: |-
curl -s https://artifactory-slo.bf.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
chmod u+x utr
- command: ./utr --testproject=. --editor-location=.Editor --suite=playmode --category=!Performance --clean-library --reruncount=1 --clean-library-on-rerun --build-only --player-save-path=build/players --timeout=3600 --artifacts-path=build/logs --platform=ios
after:
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
artifacts:
logs:
paths:
- build/logs/**/*
players:
paths:
- build/players/**/*
variables:
UNITY_HANDLEUIINTERRUPTIONS: 1
UTR_VERSION: 1.42.0

# InputSystem-MobileFunctionalBuildJobs - 6000.6 - TvOS
inputsystem-mobilefunctionalbuildjobs_-_6000_6_-_tvos:
name: InputSystem-MobileFunctionalBuildJobs - 6000.6 - TvOS
agent:
image: package-ci/macos-13:default
type: Unity::VM::osx
flavor: m1.mac
commands:
- command: unity-downloader-cli -u trunk -c Editor -c AppleTV --fast --wait
- command: UnifiedTestRunner --testproject=. --editor-location=.Editor --suite=playmode --category=!Performance --clean-library --reruncount=1 --clean-library-on-rerun --build-only --player-save-path=build/players --timeout=3600 --artifacts-path=build/logs --platform=tvOS
after:
Expand Down
Loading