Commit Graph

38 Commits

Author SHA1 Message Date
Kazuki Matsumoto 2dd1d8bcb5
ci: Add CI jobs which is package isolation test for detecting issues (#806)
* Enable testing in true isolation

We are experiencing a hang in our repo where we are building API Validation assemblies in which we take your latest promoted package `com.unity.renderstreaming@3.1.0-exp.4` (not happening with `3.1.0-exp.3`). The script imports the package with the Windows Unity Editor for the version you have specified in the `unity` field of your package (i.e. `2020.3`).

We think it's because the use of `SynchronizationContext` are not properly cleaned up after and Unity still waits for them. Unfortunately this doesn't reproduce when we run the same commands on the command line but this PR should, in theory, reproduce the same hang on your repo as well.

Enabling testing in true isolation is considered a good practice since this way you should be able to spot also missing dependencies since we are loading the package in a empty project and it should compile without errors.

We were also wondering the reason you added that huge --timeout arg to utr if it's related to this issue but we were unable to find any job that exceeded reasonable timings.

* add job for testing on Windows without GPU

* hopefully this will reproduce the issue

(cherry picked from commit 2583fbf5f484f734eb316c8758dbd38c96233ffd)

* add job

* fix

* add dependencies

* fix

* fix

* fix

* fix bug

* fix

* fix issues

* update dependency

Co-authored-by: Mihai Popescu <57262907+mihai-unity@users.noreply.github.com>
2022-12-16 17:21:29 +09:00
Kazuki Matsumoto e1444d478a
ci: Refactor script for CI jobs (#817)
* refactor

(cherry picked from commit b3229b12d883c708bdea1c639630245ca1f29495)

* fix

* fix

* wip

* fix

* fix

* fix

* revert

* change coverage package version
2022-12-16 10:20:53 +09:00
Kazuki Matsumoto c9955ddb48
chore: Update WebRTC package 3.0.0-pre.2 (#814)
* Remove DomainLOad and DomainUnload

* update dependencies

* fix bug

* fix test error

* changed pull request branch to main
2022-12-13 09:20:18 +09:00
Kazuki Matsumoto 1165e0f743
chore: Exclude tests for Unity 2022.1 on Android device (#793)
* exclude test

* fix

* fix
2022-10-07 17:10:11 +09:00
Kazuki Matsumoto 2080d509b7
chore: Changed CI image for testing with Android device (#792) 2022-10-07 15:06:22 +09:00
Kazuki Matsumoto e5e80df7e1
chore: Add CI job to generate code coverage report (#785)
* add job to generate code coverage report

* fix

* fix

* change assembly name
2022-09-30 10:59:23 +09:00
Kazuki Matsumoto 51d3a06a82
chore: Exclude trunk version from the CI dryrun test (#765)
* exclude trunk version from the CI dryrun test

* exclude trunk version from the CI promote test
2022-09-09 11:52:18 +09:00
Kazuki Matsumoto 9f5577cf73
chore: Add Unity2021.3 to the list of test environment when publishing the package (#764)
* Test on Unity 2021.3 for publising the package

(cherry picked from commit b43e8b904f3ed3705244b83a2ce2416c24284cb4)

* remove Unity 2019.4 from the list of support version.

* add trunk version
2022-09-08 17:23:32 +09:00
Kazuki Matsumoto 77a564a082
chore: Update WebRTC package version 2.4.0-exp.9 (#724)
* update WebRTC package version

* install unity-downloader-cli
2022-08-02 13:36:47 +09:00
Kazuki Matsumoto ac11608fd4
feat: Upgrade WebRTC package version 2.4.0-exp.7 (#683)
* wip: webrtc 2.4.0-exp.7

* update webrtc 2.4.0-exp.7

* add codec select in receiver sample on webapp

* Revert "add codec select in receiver sample on webapp"

This reverts commit 2292dd7f03142eccbae35a1187d5eab5b9d1f7db.

* Upgrade package version

* fix ciimage version

* fix bug

* fix

Co-authored-by: Takashi KANNAN <takashi.kannan@unity3d.com>
2022-05-19 17:32:28 +09:00
Kazuki Matsumoto 9624f755b0
test: Add the empty Unity project for auto testing on CI (#631)
* add empty project for auto testing

(cherry picked from commit acb50f0157bdf9158d1b8ea533a04a02d12ef576)

* changed project path to test on CI

* fix

* revert
2022-02-08 09:47:07 +09:00
Kazuki Matsumoto 7680f1fd04
chore: Exclude editor version 2021.2 from version list for testing (#603) 2021-12-02 09:12:09 +09:00
Kazuki Matsumoto d6f2ab778e
feat: Touch event support for multiplay sample (#552) 2021-10-21 11:13:58 +09:00
Kazuki Matsumoto 63c62e9c77
chore: Add m1mac for testing platform on CI (#546) 2021-10-08 10:15:32 +09:00
Kazuki Matsumoto 33a197021a
feat: Upgrade WebRTC package 2.4.0-exp.4 (#523)
* wip

* wip

* add audiotest sample

* add microphone sampl

* audio test

* resampling audio source

* resampling audio source

* upgrade webrtc package version

* revert

* revert

* revert

* fix lint

* fix package.json

* fix domain for upm package

* fix bugs

* fix scene
2021-09-10 16:54:03 +09:00
Kazuki Matsumoto 6fec81c321
chore: Fix dependencies (#500) 2021-06-14 21:17:27 +09:00
Kazuki Matsumoto 2de1fdee0a
chore: Change the condition of trigger on Yamato CI (#498)
* change trigger for CI

* fix
2021-06-10 14:33:33 +09:00
Kazuki Matsumoto 984a9dbd54
Revert workaround for iOS auto-testing (#494) 2021-06-08 09:50:52 +09:00
Kazuki Matsumoto d5eeaa28b2
workaround : remove auto-testing for ios platform on CI (#490) 2021-06-07 14:48:14 +09:00
Kazuki Matsumoto c037a6e5a1
chore: Fix scripts for testing macos standalone on CI (#482)
* [skip ci] fix macos standalone test on CI

* [skip ci] fix

* [skip ci] fix

* [skip ci] fix

* [skip ci] fix

* [skip ci] fix bug

* fix bugs
2021-05-31 10:07:57 +09:00
Kazuki Matsumoto bd09920a50
chore: Upgrade package version 3.1.0-exp.1 (#474)
* Upgrade package version

* update changelog

* [skip ci] revert unity version

* [skip ci] update macos version

* [skip ci] test

* Revert "[skip ci] revert unity version"

This reverts commit dc5a8ba85a.
2021-05-26 10:13:00 +09:00
Kazuki Matsumoto d544977baf
feat: Android support (#466)
* [skip ci] Android support

* [skip ci] test

* [skip ci] add AR foundation pacakge

* fix build error

* [skip ci] fix

* [skip ci] fix

* Android test on CI

* Fix CI trigger

* Upgrade InputSystem version

* [skip ci] add Camera usage description for testing

* fix bugs

* fix bugs

* [skip ci] fix bugs

* Add menu scene

* Update scenes to adapt to mobile screens

* remove arcore package

* [skip ci] fix bug
2021-05-14 14:44:14 +09:00
Kazuki Matsumoto 6691b3d2fd
chore: Fixed yamato settings (#431)
* [skip ci] fix yaml

* [skip ci] test

* [skip ci] test

* [skip ci] test

* [skip ci] fix docs
2021-03-02 14:17:52 +09:00
Kazuki Matsumoto 123081b176
chore: Enable test for standalone il2cpp on mac (#394)
* enable test for standalone il2cpp on mac

* output artifacts of test results on macos
2021-02-03 13:40:08 +09:00
Takashi Kannan 6a7ff09721
chore: run CI testing on macOS/iOS (#391)
* add run utr by manual on mac

* fix yaml

* enable test on macos

* revert mac image

* add ios build and test job

* fix yamato yml

* add ios support for runtime asmdef

* signaling test exclude iphone player

* use same setting webrtc package

* integrate package test trigger

* fix rendering test on mac

* add trigger job

* fix publish dependencies

* fix template ci yaml

* delete trigger about template-ci
2021-01-28 15:08:28 +09:00
Takashi Kannan cf35e99d8c
chore: add renderpipeline test for renderstreaming package (#386)
* add hdrp/urp test projects

* add test project jobs

* add trigger job renderpipeline test and remove auto trigger

* use relative path on testproject manifest

* fix meta path

* fix hdrp test paroject manifest.json

* fix packages-lock.json

* add rendertextureblitter component test

* fix rendertest

* extend timeout

* fix test wait got answer

* set variables on yaml

* delete samplescene on testproject

* Revert "set variables on yaml"

This reverts commit ad400c8fa2.
2021-01-28 07:02:16 +09:00
Takashi Kannan 2a7daed81e
Fix: enable Linux SignalingTest only websockeet signaling (#382)
* pack package on linux

* enable test on linux

* add testfilter about ignore privatesignalingtest on mac/linux

* add ignore httpsignaling

* skip httpsignaling test on linux and mac
2021-01-21 17:54:22 +09:00
Takashi Kannan 5077cea4d9 refactor: Move script to renderstreaming package (#373)
* move renderstreaming editor script

* move renderstreaming runtime script

* move renderstreaming test script

* fix assembly definition

* update manifest and delete symbolic link

* delete old sample folder

* move sample asset to renderstreaming package sample folder

* delete old sample source

* move renderpipeline script to package

* fix assembly definition about renderpipeline

* fix postprocess rederpipeline setting

* fix yamate yml

* delete no need cmmand script and fix yaml

* add dummy test

* fix initialize import renderpipeline script

* fix package test ci

* use metal device on macos

* change signaling server port number on test

* use packageci image on mac

* skip signaling test on linux

* skip rtx template test on not windows

* skip signaling test on mac
2021-01-15 10:52:39 +09:00
Kazuki Matsumoto a3ea1b0787
change upm package version (#296) 2020-05-08 16:58:57 +09:00
Kazuki Matsumoto 3a9d88a8bd
update yaml to replace upm registry (#288)
(cherry picked from commit 1ed6f2ff50d1669a695945d563e7a86697394625)
2020-04-27 13:13:55 +09:00
Takashi Kannan d1e30d11bd
chore: Restructure Directory (#241)
* delete no need script
* restructure directory
* fix ci setting path
* update symbolic link
* update shell cmd path
* update document link
* update readme directory structure
2020-03-16 16:58:48 +09:00
Kazuki Matsumoto ab9efdfb1b
chore: update package.json (#229)
* update package.json

* added jobs for dry-run

* fixed yaml error

* [skip ci] test

* [skip ci] test

* [skip ci] test

* [skip ci] test

* [skip ci] test

* upgrade upm-ci-util
2020-02-26 14:43:04 +09:00
Kazuki Matsumoto 7a06498c00
chore: Add build the job exporting unitypackage (#208)
* add export unitypackage script

* fixed yaml bug

* fixed bug

* add task to push package to github

* fixed bug

* save log file as artifact

* test

* test

* test

* test

* test

* fixed bug

* fixed bug

* fixed bug

* fixed bug

* change slash

* added URP sample unitypackage

* rename file

* remove yml file

* added shell command

* URP sample test

* test

* fix bug

* chmod

* move environment.yml into meta folder

* fixed bug

* fixed bug

* fixed multi-platform

* fixed bug

* add unity_path parameter

* fixed build error

* fixed unity package build error

* fixed build error

* avoid setting symbolic link

* fix error

* add build script

* fixed build error

* fix error

* test

* Added auto importer for URP package

* fixed build error

* change line endings

* remove URP version

* fixed error

* git push

* fix error

* fixed git push branch

* test

* fixed bug

* Update unitypacakge

* revert

* Update unitypacakge
2020-01-22 11:19:54 +09:00
Kazuki Matsumoto d6a1b0829d
refactor: Add MacOS and Linux as support platforms (#203)
* Add unittests

* refactor

* remove "prepack" build job

* bugfix

* bugfix

* upgrade version 2019.3

* added test platform(mac and linux)

* bugfix

* remove mac and linux platform  TODO add platform mac and linux

* add trigger to template test

* fixed build

* fixed linux VM

* change hdrp version

* fix build error

* Upgraded HDRP template 2019.3.0f3

* change HDRP version

* upgrade webrtc package version

* upgrade HDRP version

* move unittest files to com.unity.renderstreaming package folder

* remove unittest

* add test platform (mac, linux)

* remove autotest trigger
2020-01-17 11:29:33 +09:00
Sindharta Tanuwijaya 7085a33d80 chore: use webrtc 1.1.0 (#206)
* Depend on com.unity.webrtc 1.1.0 using git URL.
This dependency is temporary until webrtc 1.1.0 is officially released.

* Removing testing against 2019.1 and 2019.2 and adding testing against 2019.3 in CI

* Use webrtc version 1.1.0-preview.1

* Upgrading EmptyProjectForTest to 2019.3.0f5

* Set dependency to com.unity.webrtc in EmptyProjectForTest

* Remove prepack step (empty) and only target 2019.3

* Add dependency to com.unity.webrtc in github direct.

This is temporary as the required com.unity.webrtc hasn't been publicly released yet.

* Remove the command to do local copy of com.unity.webrtc, since it doesn't exist in this repo anymore

* Updating the HDRP sample source to 2019.3.0f5

* Update HDRP sample: unitypackage

* Update com.unity.webrtc hash
2020-01-16 14:41:23 +09:00
Kazuki Matsumoto 7a673b2738 chore: upgrade version 1.1.0 (#148)
* upgrade version to 1.1.0

* Add the link to webrtc repository

* removing webrtc build pipeline
2019-09-13 19:11:07 +09:00
Sindharta Tanuwijaya d619856c60 chore: combine prepack and pack build job (#106)
* Combine prepack and pack job

* change the names of the artifacts

* Revert combining prepack and pack

* typo
2019-08-10 11:08:31 +09:00
Sindharta Tanuwijaya e4381470d2 chore: maintain Yamato configuration (#105)
* Change m1. toi b1.

* Renaming upm-ci-packages to upm-ci-renderstreaming-packages
2019-08-09 13:35:45 +09:00