Commit Graph

34 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 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 6af8ddf47e
chore: Upgrade CI image version for publishing webapp (#774)
* change CI image version

* [skip ci] fix comment

* [skip ci] test

* [skip ci] fix GPG key
2022-09-15 17:21:55 +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
Takashi Kannan 3f3d4ffc60
feat: Update package template for 3.1.0-exp.2 (#646)
* update version and dependencies

* update unity 2020

* update samplescene on hdrp template

* update unity and renderstreaming package version

* remove local packages

* update sample scene on rtx

* fix doc

* only run 2020.3 on yamato

* update changelog
change package version 3.1.0-exp.2
2022-02-15 15:46:06 +09:00
Takashi Kannan 7abe359ca9
feat: update template 3.0.0 (#442)
* update hdrp template

* update rtx template

* fix rtx template

* add template package test

* add prepack process

* skip convert symlink (meaning not run test about rtx template)

* update changelog

* fix review

* fix review

* [skip ci] fixed broken links

* [skip ci] filter ValidationSuiteRun

Co-authored-by: kazuki <karasusan@gmail.com>
2021-03-19 18:29:59 +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 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
Takashi Kannan 7ba8d5e9dd feat: bidirectional communication sample (#359)
* implement private mode

* send connection id on createconnection

* implement unity 1on1 sample

* [wip]fix connection

* [wip] add peerExists flag on connect

* [wip] add disconnect handling

* remove tracks on disconnect

* implement http signaling

* fix session delete

* fix httpsignaling on webapp

* add logging level

* formated ts file

* fix review and test

* change error message

Co-authored-by: Kazuki Matsumoto <1132081+karasusan@users.noreply.github.com>

* fix signaling

* fix erro msg handle

* add private mode signaling test

* move connectionid input to sample cone

* implement videostreambase

* fix videoviewer

* fix 1on1 browser sample

* fix private signaling

* add send/recv texture propety

* fix test check peer exists

* add close connection at test end

* waiting thread and process ending

* remove todo about signaling test

* enable signaling test

* fix webapp copy path

* fix webapp download url generate

* use enviroment variable about webapp location

* add connecctionid check on connect

* change rtx template test to same hdrp test

* ignore signaling test if scripting backend is il2cpp

* add utr timeout argment

* fix receive viewer texture

* use yamato env about webapp name

* 1on1 sample ui handle

* fix websocket msg schema comment

Co-authored-by: Kazuki Matsumoto <1132081+karasusan@users.noreply.github.com>
2021-01-15 10:50:29 +09:00
Kazuki Matsumoto 8198bbaaa8
remove CI trigger of the template test (#342) 2020-11-09 19:15:47 +09:00
Kazuki Matsumoto f8a689d332
Chore: template test (#300)
* add trigger to test template

* fix yaml error

* [skip ci] fixed yaml to release package to GitHub Release

* workaround for template test error on Yamato

* [skip ci] fixed yaml error

* [skip ci] fixed yaml error
2020-05-11 13:56:40 +09:00
Kazuki Matsumoto a3ea1b0787
change upm package version (#296) 2020-05-08 16:58:57 +09:00
Kazuki Matsumoto 8f9ae7594e
fix: fixed yaml to publish the packages on GitHub Release (#282)
* fixed error in building process on Yamato

* comment out

(cherry picked from commit 79739e8cea0311daec2cf4056b2c058cc456cc6f)

* add comment

(cherry picked from commit beaafd6119b592692ad5c7b1c31fec110b00c32a)
2020-04-27 14:21:03 +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
Kazuki Matsumoto 7024ec17cd
chore: upgrade hdrp version 7.3.1 (#266)
* upgrade hdrp version 7.3.1

* add trigger to test template

* fixed yamato error

* make comment and write todo

* fixed doc

* update scene

* Revert "fixed doc"

This reverts commit 46e07af071.
2020-04-15 15:21:38 +09:00
Sindharta Tanuwijaya 7ddc664828
chore: create an initial RTX template for UnityRenderStreaming (#247)
* Updating template project to 2019.3.6f1

* Add initial rtx template, with four symlinks to the normal hd template:
- ExampleAssets
- Scripts
- TutorialInfo
- TextMeshPro

* Fix TestMeshPro symbolic link

* Convert symlinks when packing templates

* Fix Yamato setting. All the jobs must have the template name, so that it's valid

* Rename assembly and test to RTX

* Use double quote when calling convert symlinks

* Revert "Use double quote when calling convert symlinks"

This reverts commit 33c1b1aecb.

* escape path with space using {}

* Wrong variable

* Add symlink for the template itself
2020-03-26 18:45:24 +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 d30c0e614e
chore: template test (#238)
* [skip ci] template test

* test

* revert yaml to add dependencies
2020-03-10 11:33:01 +09:00
Kazuki Matsumoto 6c8b2dcd2c
chore: fixed build process for template project (#231)
* [skip ci] fixed build process for template project

* [skip ci] fixed manifest.json

* [skip ci] fixed build error
2020-02-26 17:05:54 +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 428044ceb0
refactor: Prepared template testing (#218)
* add patch file to replace "manifest.json" for testing template

* add template unittest

* exclude RenderStreaming test on MacOS

* move the place where web application executable file

* cp WebApp folder to resolve the path searching of the webserver

* added method "ChangeGraphicsApi"

* fixed build script to copy webserver

* fixed build error

* exclude macos platform from template test

* test

* test

* add meta

* test

* test

* remove trigger to stop template test

* fixed warning

* upgrade input system 1.0.0-preview.4

* fixed comment
2020-01-31 14:26:48 +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
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 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
Kazuki Matsumoto bd3e851e59 chore: Fixed build pipeline (#98)
* fixed pipeline bug

* fixed pipeline bug

* fixed pipeline bug
2019-08-02 15:25:03 +09:00
Kazuki Matsumoto 458363e431
[FIXED] Keyboard Input (#47)
* rename signaling class

* added keymap

* fixed keyboard bugs

* fullscreen support

* touch event support

* fixed js scripts

* Removed Unity version `2018.3` that is supported by `Render Streaming`
2019-07-01 11:31:13 +09:00
kazuki matsumoto b849572264 change image for publishing job 2019-06-26 19:35:32 +09:00
Kazuki Matsumoto ccbcf50939
fix yamato CI bug (#31) 2019-06-21 10:57:04 +09:00
Kazuki Matsumoto 1917e965b5 Added Signaling feature (#13)
*  Add signaling web server

add signaling web server

* renamed cmd

* Updated WebApp

* updated build pipeline

* Added C# signaling script

* removed unused file
2019-05-28 00:12:30 +09:00
Kazuki Matsumoto eb9f811e8e Fixed: WebRTC package unittest (#11)
* fixed asmdef error

* Changed displayName to "WebRTC"

* Add constructor to avoid warning CS0649

* Add ProjectSettings for template

* Remove unused files

* Fix webrtc unittest bug
2019-05-09 22:10:30 +09:00
Kazuki Matsumoto 81521c985c Added: template package sample (#9)
* added template package sample

* added packages folders assets

* Updated gitignore to avoid ignoring the package folder
2019-05-07 19:06:12 +09:00