13 Commits

Author SHA1 Message Date
YuLi
12ba56f534 ci: 引入 ctest 门禁并接入全平台流水线 (#4833)
tests 目录下的程序此前仅被编译、从不执行,项目中也没有任何 add_test 注册,
测试因此会静默腐烂:master 上的 test_vp9_rtp 目前即为失败状态,却无人察觉。

改为以白名单注册可无人值守执行的用例,并在流水线构建之后执行 ctest,
失败即中断。该目录其余程序多为服务型或压测工具,运行后不会自行退出,全量
自动收录会使 ctest 挂起,故采用白名单。

首批收录
test_amf、test_sortor、test_ts_splitter、test_mp4_muxer_video_dimension
四个,均已本地实测通过,总耗时 0.05 秒;并为每个用例设置 120 秒超时,避免
个别用例卡住流水线。

test_vp9_rtp 当前为失败状态,本次不收录,留待单独修复后再并入白名单。

现在先搭好框架, 后续逐个添加单元测试/门禁
2026-09-20 10:20:21 +08:00
YuLi
b7947723b9 Fix/ci fork build failures (#4832)
解决两个问题:
1. fork的每次ci不通过很烦人
2. debian 11已经过了维护期了, 所以构建不成功. 当前是使用归档仓库, 但是更好的方式其实是切换到12
2026-09-20 10:19:53 +08:00
Yohann
ac64e3314b ci: add Linux ARM64 build workflow (#4784)
Add GitHub Actions workflow to build ZLMediaKit for linux/arm64
(aarch64) using the native ubuntu-24.04-arm runner.

- Build container: debian:11 (glibc 2.31) for broad compatibility
- Compile steps extracted into package/build_linux_arm64.sh for
debugging
- OpenSSL: no-asm/no-dso/-fPIC to fix aarch64 PIC relocation issues
- Artifacts: Linux_ARM64_<branch>_<date>

Successfully tested on my fork; artifact includes MediaServer and
related binaries.

Co-authored-by: yangheng <492238647@qq.com>
2026-07-24 11:51:08 +08:00
snysmtx
8f4e76406c 修复编译 rpm 时获取调试信息失败问题 (#3151)
Release 8.0 之后, 编译 rpm 会出现获取调试信息失败问题,  导致 rpm 打包失败

虽然说可以禁用调试包生成来规避问题, 但个人认为在编译 DEBUG 版本时生成调试信息包还是有必要的
2023-12-22 17:40:42 +08:00
夏楚
bbe8f4a018 release 8.0 2023-12-09 16:23:51 +08:00
Xiaofeng Wang
074d13be0c rpm: 默认不打包 api/cxx-api 2022-08-22 13:18:05 +08:00
wxf
0d4ac4f655 spec: Fix openssl directory 2021-06-23 10:40:05 +08:00
wxf
b34226b785 spec: WebRTC requires openssl >= 1.1 2021-06-23 10:40:01 +08:00
wxf
549b07f598 spec: Enable WebRTC 2021-06-23 10:39:50 +08:00
wxf
e467cf10c3 修正 rpm 包依赖配置 2020-12-18 09:12:57 +08:00
wxf
6a2709bec2 需要 cmake3 2020-12-17 21:40:58 +08:00
wxf
af6446507e 添加编译开关 2020-12-17 20:25:54 +08:00
wxf
acc5ecb937 添加 rpm spec 2020-12-17 19:45:43 +08:00