Commit Graph

153 Commits

Author SHA1 Message Date
Nie Zhihe
c8c30e922c chore: conditionally install mingw in workflow 2026-01-05 17:08:13 +08:00
Nie Zhihe
e0a7e5aa1a chore: open test-integration-cpp for mingw in workflow 2026-01-05 17:08:13 +08:00
Nie Zhihe
43e8a53b25 feat: mingw clean with yml (#1934)
* fix: lib suffix .a

fix: use ar and set suffix to .a when combining static libs

fix: change suffix to .dll.a for import third libraries

fix: lib suffix

* fix: cflags

fix: compiler warning flgs

fix: cflags

chore: fPIC flag not needed

* fix: SetThreadDescription

fix: fix MinGW compatibility with explicit type casts for Windows interlocked operations

fix: use InterlockedExchangeAdd64 as an alternative for InterlockedAddAcquire64

* fix: cmake generator set to MinGW Makefiles for third parties libuv and yyjson

fix: third party configs

* fix: expand the wildcard when using ar to combind static lib

fix: add rmtree func with retries for Win

fix: find obj files when combining static libs

* fix: generate target triples based on OS and CPU architecture

fix: ignore:4099 is MSVC linker option, not supported by MinGW

fix: link ntdll for MinGW target

fix: build/ten_runtime/feature

fix: minGW supports rpath

* fix: parallel build support

fix: lib name in get_lib_name_from_cmake_output.py

chore: parellel build

fix: set stack size for buiding tman on MinGW Win

fix: refine set stack size logic

* fix: add MinGW-specific build configuration for clingo-sys

chore: refine clingo-sys build codes

fix: modify clingo lib suffix on Linux/Mac

* fix: undefined ref to inline ten_string_* funcs

fix: undefined ref to inline func `ten_msg_get_raw_msg'

chore: check exportation issue of other extern inline funcs

* fix: libten_runtime_python.pyd lib name

fix: no non-blocking method was found

fix: libzlib.dll.a name

fix: refine codes

* fix: temporary fix msgpack.dll import symbol problem

fix: temporary fix more import symbol problems

* chore: specify ten_gn

* feat: mingw build workflow

---------

Co-authored-by: Nie Zhihe <niezhihe@shengwang.cn>
Co-authored-by: Hu Yueh-Wei <wei.hu.tw@gmail.com>
2026-01-03 18:18:41 +08:00
Ethan Zhang
3864339d62 feat: update build image to 0.7.14 (#1935) 2026-01-01 12:34:08 +08:00
xxxxl_sun
a2fb3c0764 fix: ci (#1932) 2025-12-31 16:43:23 +08:00
xxxxl_sun
121da171e1 fix: ci (#1931) 2025-12-31 15:16:30 +08:00
Nie Zhihe
66e23b3aa5 chore: modify rust tool chain version (#1923)
* fix: refine codes

* fix: refine codes

---------

Co-authored-by: Hu Yueh-Wei <wei.hu.tw@gmail.com>
2025-12-31 12:04:51 +08:00
Hu Yueh-Wei
6c79db216c chore: update linux ARM64 workflow to use ubuntu-24.04-arm and streamline build steps (#1924)
* chore: update linux ARM64 workflow to use ubuntu-24.04-arm and streamline build steps

* chore: update linux ARM64 workflow to use ubuntu-24.04-arm and streamline build steps

* fix: refine code

* fix: refine code

* fix: refine code

* fix: refine code

* fix: refine code

* fix: ten_rust panic strategy to abort

* fix: refine code

* fix: refine code

* fix: refine code

* fix: refine codes

* fix: refine codes

* fix: install stable rust in mac arm64

* fix: mac x64 debug

* fix: mac x64 debug

* fix: mac x64 debug

* fix: mac x64 debug

* fix: mac xcode target sdk version

* fix: mac x64 debug

* fix: refine codes

* fix: refine codes

* fix: refine codes

* fix: refine codes

* fix: refine codes

* fix: increase the stack size on mac

* fix: refine codes

* fix: refine codes

* fix: refine codes

* fix: refine codes

* fix: refine code

---------

Co-authored-by: sxl <sunxilin@agora.io>
2025-12-30 23:11:43 +08:00
xxxxl_sun
bd7b1f739b feat: fully utilize uv in ten framework (#1904)
* feat: add pyproject.toml for python packages

* feat: add script for updating pyproject.toml

* fix: remove ten_enable_integration_tests_prebuilt build flag

* feat: using uv in python integration tests

* fix: refine code

* fix: refine code

* chore: add more pyproject.toml

* fix: refine code

* chore: refine grafana dashboard

* fix: refine code

* fix: refine code

* fix: remove .venv & build python C extension with pyd suffix

* fix: remove container for python integration test on linux x64 workflow

* fix: refine grafana

* fix: refine code

* fix: add python path for venv on windows

* fix: refine code

* fix: refine code

* fix: test case
2025-12-24 17:01:26 +08:00
Nie Zhihe
c12353fad0 fix: coveralls remove container for all test jobs (#1878)
* chore: calculate coverage in debug mode

* Revert "chore: calculate coverage in debug mode"

This reverts commit f68a031af9efad1fd0fb57777342f180835891f0.

* Reapply "chore: calculate coverage in debug mode"

This reverts commit bc27f2c1ca8bebd34a095891e886eb0763c83c43.

* fix: remove container for test jobs

* fix: add C++ toolchain, go builder, sanitizer support, nodejs env

* fix: compiler version incompatible

* Revert "fix: compiler version incompatible"

This reverts commit 23f5c3f7d70f759170ed6b8911edd34fb56a812f.

* fix: set PATH so that clang-21 is find earlier than older versions

* fix: uninstall older versions of clang

* Revert "fix: set PATH so that clang-21 is find earlier than older versions"

This reverts commit b66e56c08a1b0eb07454d2c2273f360211ec1971.

* fix: uninstall old clang first then install clang21

* fix: supplement test jobs deps according to tools Dockerfile

* fix: install libasan5 for all jobs and remove unecessary deps

* chore: refine codes and output clang version before every test

* fix: go back to clang 18 to detect __lsan_do_leak_check

* Revert "fix: go back to clang 18 to detect __lsan_do_leak_check"

This reverts commit d247818a8c2e2a0b030e901e4e9962af8bab30df.

* fix: upgrade libasan5 to libasan8 to match clang 21

* fix: install libclang-rt-21-dev

* Revert "fix: install libclang-rt-21-dev"

This reverts commit 39b96e030e.

* fix: ten_enable_go_app_leak_check

* chore: uninstall useless dep libasan8

* chore: refine codes and uninstall unecessary dep clang-tool-21
2025-12-19 11:00:04 +08:00
xxxxl_sun
58f4556427 feat: move docs to ten-framework and add workflow to protect onboarding experience (#1881)
* chore: move doc from portal to ten-framework

* feat: improve from scratch workflow

* fix: refine code

* chore: test

* chore: test

* fix: refine code
2025-12-16 10:55:04 +08:00
Nie Zhihe
eaebb8aa60 feat: add tman coverage into coveralls (#1870)
* chore: calculate coverage in debug mode

* chore: tman coverage

* fix: open tman coverage when build

* Revert "chore: calculate coverage in debug mode"

This reverts commit f68a031af9efad1fd0fb57777342f180835891f0.

* chore: set LLVM_PROFILE_FILE

* chore: refine codes
2025-12-16 10:54:20 +08:00
Nie Zhihe
fa86b83281 fix: remove duplicate upload of tman-win zip (#1879) 2025-12-15 16:20:31 +08:00
xxxxl_sun
b39effcdf0 chore: update doc (#1874) 2025-12-15 11:20:13 +08:00
Nie Zhihe
9002ad1c5e fix: mandatory sha256 fetched from release data (#1866)
* fix: mandatory sha256  fetched from release data

* feat: inherit existing branch or PR on winget-pkgs

* fix: windows temp path

* chore: exit logic

---------

Co-authored-by: Nie Zhihe <niezhihe@shengwang.cn>
2025-12-11 19:47:04 +08:00
Nie Zhihe
d7425be16c feat: winget (#1844)
* feat: winget (dry run when push)

* fix: remove potential code injection

* fix: variable format

* fix: build command args

* chore: test production run, trigger PR to  winget-pkgs

* fix: higher rate limit

* Revert "chore: test production run, trigger PR to  winget-pkgs"

This reverts commit 4d5d6e0d27769c40e1b3ce27f3acf612d0923988.

* chore: modify PackageIdentifier

* chore: refine codes

* fix: trigger

* chore: refine codes

* chore: refine codes

* chore: refine template

* fix: license type

* fix: refine codes

---------

Co-authored-by: Nie Zhihe <niezhihe@shengwang.cn>
Co-authored-by: Hu Yueh-Wei <wei.hu.tw@gmail.com>
2025-12-09 17:58:14 +08:00
Jun
29c4d0c5ff feat: add a python system package pytest_ten supporting AAA-style tests (#1838)
* feat: add a python test wrapper supporting AAA-style tests

* fix: use relative import

* feat: move test_wrapper from ten_runtime into core_system package

* test: add example tests using pytest_ten

* chore: refine code

* feat: update workflow to upload pytest_ten system package

* fix: refine code

* fix: test case on windows

---------

Co-authored-by: xxxxl_sun <31622273+sunxilin@users.noreply.github.com>
Co-authored-by: sunxilin <sunxilin@shengwang.cn>
2025-12-09 11:01:28 +08:00
Nie Zhihe
bef4f68f5d test: pytest on windows (with python_binding enabled) (#1796)
* fix: unlock windows

* fix: convert windows path separators

* fix: correct virtual environment PATH ('bin')

* fix: boostrap script for windows

* fix: start script for windows

* fix: rule out uvloop on windows

* fix: add_dll_directory()

* fix: Python C API format string

* fix: go_binding restricted tests

* fix: fix path when using bootstrap script

* fix: start_graph tests

* fix: fix path when using bootstrap script

* fix: five standalone tests

* fix: ignore internal tests

* fix: remove DLL loading flags

* feat: pytests workflow on windows

* Revert "fix: remove DLL loading flags"

This reverts commit 249841a5dcd956551b5d4ddbff2d46bd20e2afc1.

* fix: two cpp_app with python extension

* fix: ignore leak_check on win

* fix: fix CI workflow

* fix: ollama installation silent arg

* Revert "fix: add_dll_directory()"

This reverts commit de6f9dced0.

* fix: ollama installation debug

* fix: download ollama win zip

* fix: add_dll_dir when python code import ten_runtime

* fix: add_dll_directory for cpp apps

* fix: find python310.dll instead of copying

* fix: libten_runtime_python.pyd path on win

* fix: remove useless add_dll_directory codes

* chore: refine module.c comment

* chore: refine start scripts for 2 cpp apps

* fix: add module_load fallback (to LoadLibraryA)

* fix: unpin pytest version requirement

* fix: win long path support on CI workflow

* fix: revert module.c

* feat: fallback to LoadLibraryA to load python310.dll on win

* refactor: shorten project name to fix Windows path length limit

- Rename 'cpp_app_mproc_python' to shorter name
- Resolve GetFullPathNameA() 'The filename or extension is too long' error on Windows

* fix: bootstrap file lack execute permission (triggered by rename)

* fix: refine codes

---------

Co-authored-by: Nie Zhihe <niezhihe@shengwang.cn>
Co-authored-by: Hu Yueh-Wei <wei.hu.tw@gmail.com>
2025-12-08 09:58:21 +08:00
Hu Yueh-Wei
c53208d7ea chore: disable debug and measurement logging in coverage workflow (#1839) 2025-12-08 09:34:39 +08:00
Nie Zhihe
058d9dfbac fix: coveralls app arguments (#1835)
* fix: coveralls app arguments

* fix: path consistency in lcov and work env

---------

Co-authored-by: Nie Zhihe <niezhihe@shengwang.cn>
2025-12-08 02:18:14 +08:00
xxxxl_sun
1875bcf6f9 feat: add check_env cmd in tman (#1819)
* feat: add check_env cmd in tman

* chore: update doc

* fix: workflow

* fix: workflow

* fix: refine code

* fix: workflow

* fix: workflow

* fix: tman check_env

* fix: workflow

* fix: refine coverage workflow

* fix: refine coverage workflow

* fix: refine coverage workflow

* fix: refine coverage workflow

* fix: refine coverage workflow

* fix: refine codes

* fix: refine codes

---------

Co-authored-by: Hu Yueh-Wei <wei.hu.tw@gmail.com>
2025-12-05 15:03:56 +08:00
Ethan Zhang
d97754c3ef feat: bump up build image to 0.7.12 (#1832) 2025-12-05 13:50:06 +08:00
Ethan Zhang
1228adc9b2 Feat/claude (#1812)
* feat: add new ASR extension ezai_asr

* feat: update workflow

* fix: fix settings

* fix: fix settings

* fix: try taking out api key

* fix: fix claude code

* fix: fix api key

* fix: fix api key

* Revert "feat: add new ASR extension ezai_asr"

This reverts commit 956685a463.

---------

Co-authored-by: ad715310 <ad715310@gmail.com>
2025-12-02 19:46:46 +08:00
xxxxl_sun
7c045c49fe fix: workflow (#1807)
* fix: workflow

* fix: workflow
2025-12-01 21:41:02 +08:00
xxxxl_sun
a37aa29f39 fix: workflow (#1805) 2025-12-01 15:49:29 +08:00
xxxxl_sun
63650dda81 feat: add workflow to publish tman to ppa (#1795)
* feat: add workflow to publish tman to ppa

* fix: refine code

* fix: refine code

* fix: refine code

* fix: refine code

* fix: refine code

* fix: refine code

* fix: refine code

* fix: refine code

* fix: workflow

* feat: add workflow to publish tman to ppa on linux arm64

* fix: workflow

* fix: workflow

* fix: workflow

* fix: workflow
2025-12-01 12:22:58 +08:00
xxxxl_sun
997cc41505 feat: add workflow to publish tman to homebrew (#1801)
Co-authored-by: sxl <sunxilin@agora.io>
2025-11-28 18:56:07 +08:00
Hu Yueh-Wei
d41185387e chore: enable ARM64 support in GitHub Actions workflow for Ubuntu 22.04 (#1758)
Co-authored-by: sunxilin <sunxilin@shengwang.cn>
2025-11-22 11:48:23 +08:00
xxxxl_sun
f62b9593e7 feat: update libnode and workflow (#1773) 2025-11-21 16:34:06 +08:00
Nie Zhihe
c1620acd88 feat: enable python binding on windows (#1764)
Co-authored-by: Nie Zhihe <niezhihe@shengwang.cn>
Co-authored-by: Hu Yueh-Wei <wei.hu.tw@gmail.com>
2025-11-20 16:41:30 +08:00
xxxxl_sun
c078d484cb feat: add guidance for advanced c development environments (#1752) 2025-11-19 11:06:08 +08:00
Hu Yueh-Wei
9e7a68df10 fix: correct command syntax in Linux ARM64 GitHub Actions workflow (#1759) 2025-11-17 21:20:11 +08:00
Hu Yueh-Wei
dab25de661 chore: enable additional ARM64 support in GitHub Actions workflow (#1748) 2025-11-17 13:53:52 +08:00
Hu Yueh-Wei
b0ad259d87 chore: enable Linux ARM64 support in GitHub Actions workflow (#1744) 2025-11-16 12:55:26 +08:00
Hu Yueh-Wei
aef42cfffc fix: improve ulimit and sysctl settings in GitHub Actions workflow to handle concurrent connections more effectively (#1742) 2025-11-15 11:55:59 +08:00
Hu Yueh-Wei
6110b540ee fix: enhance Coveralls upload process in GitHub Actions workflow (#1738) (#1739) 2025-11-14 14:14:00 +08:00
Hu Yueh-Wei
a8cced5c4a refactor: streamline Coveralls upload process in GitHub Actions workflow (#1737) 2025-11-14 13:35:09 +08:00
Hu Yueh-Wei
5e3ae6b0ac fix: update Coveralls branch determination logic in GitHub Actions workflow (#1735) 2025-11-13 23:05:21 +08:00
Hu Yueh-Wei
6cc9e2e95c chore: update GitHub Actions coverage workflow to improve fetch depth and add environment variables for Coveralls (#1725) (#1734) 2025-11-13 21:44:05 +08:00
Ethan Zhang
3cd5f4a984 feat: http control from client to ten example (#1730)
* feat: add http control example

* feat: http server integration

* feat: clone playground ui and modify

* feat: finalize readme and so-on

* fix: update docker build

* fix: fix docker settings

* fix: open 8000 - 9000 port range

* fix: fix code review issues

* fix: update manifest lock

* fix: fix frontend build issue
2025-11-13 17:31:45 +08:00
Nie Zhihe
95a2777b84 chore: trigger coverage workflow (#1731)
Co-authored-by: Nie Zhihe <niezhihe@shengwang.cn>
2025-11-13 17:04:46 +08:00
Hu Yueh-Wei
a2a7372e15 chore: update macOS runner versions in CI workflows to macos-15-intel and macos-latest (#1718) 2025-11-12 10:03:29 +08:00
xxxxl_sun
9598b9a5c3 feat: provides an audio processing sample app that can run on mac linux (#1696)
Co-authored-by: Hu Yueh-Wei <wei.hu.tw@gmail.com>
2025-11-11 21:50:56 +08:00
Nie Zhihe
588e53d317 feat: rust coverage (#1679)
Co-authored-by: Hu Yueh-Wei <wei.hu.tw@gmail.com>
2025-11-07 13:32:04 +08:00
xxxxl_sun
8ae0942beb fix: tman install fail if dependencies not found (#1686)
Co-authored-by: Hu Yueh-Wei <wei.hu.tw@gmail.com>
2025-11-06 10:30:40 +08:00
xxxxl_sun
d969fa1160 fix: github workflow (#1678) 2025-10-29 10:13:11 +08:00
xxxxl_sun
a4f2ee335b fix: trigger publish to ten cloud in mac x64 workflow (#1676)
Co-authored-by: Hu Yueh-Wei <wei.hu.tw@gmail.com>
2025-10-28 17:29:23 +08:00
Nie Zhihe
d53233f7f2 feat: code coverage for TEN runtime (#1645)
Co-authored-by: Hu Yueh-Wei <wei.hu.tw@gmail.com>
Co-authored-by: Nie Zhihe <niezhihe@shengwang.cn>
Co-authored-by: Wang Yimin <wym0207@outlook.com>
Co-authored-by: Xianmeng Tang <tangxianmeng@live.com>
2025-10-25 15:56:54 +08:00
czhen
481185acba fix(playground): update deps & tools to improve performance (#1634)
* fix: update packages

* feat: biome config

* fix: bulk format

* feat: update tailwindcss v4

* fix: dark theme

* fix: build error

* chore: bump version

* chore: update lockfile

* fix: update image and scripts

* fix: update task configs

* fix: dockerfile

* fix: add debugging info

* fix: debugging path

* fix: upgrade image to 0.7.9

* fix: remove debugging lines

* fix: build

---------

Co-authored-by: Ethan Zhang <qianze.zhang@hotmail.com>
2025-10-21 22:21:32 +08:00
Nie Zhihe
276431b593 fix: update version in ten-framework for Mac and Windows (#1629)
Co-authored-by: Nie Zhihe <niezhihe@shengwang.cn>
2025-10-19 15:30:27 +08:00