Commit Graph

93 Commits

Author SHA1 Message Date
Kazuki Matsumoto 90c705f9cd
chore: Upgrade package version 3.1.0-exp.6 (#845) 2023-01-24 10:02:22 +09:00
Kazuki Matsumoto 06f100928d
chore: Update WebRTC package version 3.0.0-pre.4 (#837)
* fix docs

* fix for tutorial

(cherry picked from commit 727cc6956fb1ab1ea10d950cc3a3c5da7817772a)

* upgrade WebRTC package version 3.0.0-pre.4

* update unity project

* workaround

* workaround

* workaround

* workaround

* fix

* workaround
2023-01-18 18:27:21 +09:00
Kazuki Matsumoto 7ef33dc19f
doc: Remove unused document (#835)
* [skipci] ci: fix condition of auto trigger

* fix

* [skipci] fix

* remove tutorial doc

* fix

* fix
2023-01-12 09:31:09 +09:00
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 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 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
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
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
Takashi Kannan 31102c11a5
feat: Upgrade WebRTC package 2.4.0-exp.5 (#630)
* fix flip streaming using ScreenStreamSender on Opengl

* fix compile error

* fix error

* update depend webrtc package version

* update manifest

* add package for ar sample

* add comment in screen stream sender

* add arfoundation

* update setting for testing with vulkan api

* exclude unit testing on andoid with Vulkan API for workaround

* fix test

* workaround: exclude standalone app testing with il2cpp on maoOS(Silicon)

Co-authored-by: kazuki <karasusan@gmail.com>
2022-02-07 17:41:13 +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 d1a1017b65
chore: Fix CI error (#578) 2021-11-11 08:52:33 +09:00
Kazuki Matsumoto d6f2ab778e
feat: Touch event support for multiplay sample (#552) 2021-10-21 11:13:58 +09:00
Takashi Kannan cdb2ce0e09
feat: add test for webapp client (#547)
* unified peer class on video player

* fix signaling on videoplayer

* implement mocksingaling class for test

* fix mocksignaling

* add mocksignaling test

* set up httpsignaling test

* use describe each

* setup and fix http signaling test

* add mode argument

* fix mocksignaling

* fix signaling interval

* add jest dev server

* using jest web server on signaling test

* fix setup test on mocksignaling

* change package.lock.json to version 1 on webapp server

* implement getconnection on httpsingaling

* fix test interval

* change using portnumber

* add workaround for linux

* fix artifact path
2021-10-12 11:01:15 +09:00
Kazuki Matsumoto 63c62e9c77
chore: Add m1mac for testing platform on CI (#546) 2021-10-08 10:15:32 +09:00
Takashi Kannan 4eb8c6052f
feat: Add unittest for webapp using Jest (#541)
* update dependencies packages

* fix parse command line option

* enable esmodule on jest

* define webapp client test job on yamato

* define signaling handler on server

* setup server test

* add jest-websocket-mock

* fix handler argument

* implement basic test for http/wbsocket signaling handler

* fix lint

* fix tsconfig.json

* change linux vm image for webapp job

* fix jest command for win

* fix upm-ci-webapp.yml

* wait more time for running test server

* make client directory for webapp

* add cross env for client test

* fix httphandler on private mode

* fix review
2021-10-04 14:28:23 +09:00
Kazuki Matsumoto f15018ef61
support unity2021.1 (#531) 2021-09-27 09:46:51 +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 fb3aafb3a4
chore: Publish template projects to Github Release (#451)
* [skip ci] fix yaml to publish template

* [skip ci] fix job dependencies

* [skip ci] fix commands
2021-03-22 16:27:07 +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
Kazuki Matsumoto 6e3492661d
chore: Fix promotion test (#436)
* [skip ci] fix promotion test

* [skip ci] fix promotion test
2021-03-03 09:59:31 +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 b0db7035fa
chore: Replace `github-release-cli` to `gh` (#427)
* [skip ci] replace `github-release-cli` to `gh`

* [skip ci] win10 -> ubuntu

* [skip ci] fix error
2021-02-24 20:28:49 +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
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 89a0439027
fix yaml to promote pacakge (#341) 2020-11-09 11:12:30 +09:00
Kazuki Matsumoto 931496cf03
[skip ci] fixed editor version to test for promotion the package (#328) 2020-08-28 17:12:33 +09:00
Takashi Kannan 79a5340d36
change webapp image to package-ci/mac (#326) 2020-08-28 12:13:04 +09:00
Kazuki Matsumoto f3a0fa0e18
chore: Updated yamato environments (#321)
* updated yamato environments

* fix build error

* include test folder

* fixed webapp error

* fixed webapp error
2020-08-22 07:06:51 +09:00
Takashi Kannan 84eabac4ed
fix: divide webapp release mac (#316)
* divide webapp release about mac

* fix shell
2020-07-21 09:47:14 +09:00
Takashi Kannan 02b3487cae
feat:add legacyrenderpipeline sample (#315)
* add legacy renderpipeline sample

* add export job

* add sample directory

* fix package.json

* delete urpsetting

* fix import script
2020-07-21 09:46:15 +09:00