1 Star 1 Fork 45

萌芽的冬天 / freeswitch

forked from 上海老李 / freeswitch 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.drone.yml 1.69 KB
一键复制 编辑 原始数据 按行查看 历史
---
kind: pipeline
name: unit-tests
node:
freeswitch: public
steps:
- name: run-tests
image: signalwire/freeswitch-public-base
pull: true
commands:
- cat /proc/sys/kernel/core_pattern
- ./bootstrap.sh -j
- echo "applications/mod_test" >> modules.conf
- sed -i '/applications\/mod_http_cache/s/^#//g' modules.conf
- sed -i '/event_handlers\/mod_rayo/s/^#//g' modules.conf
- sed -i '/formats\/mod_opusfile/s/^#//g' modules.conf
- sed -i '/languages\/mod_lua/s/^#//g' modules.conf
- export ASAN_OPTIONS=log_path=stdout:disable_coredump=0:unmap_shadow_on_exit=1;
- ./configure --enable-address-sanitizer
- echo "#!/bin/bash\nmake -j`nproc --all` |& tee ./unit-tests-build-result.txt\nexitstatus=\${PIPESTATUS[0]}\necho \$exitstatus > ./build-status.txt\nmake install\n" > build.sh
- chmod +x build.sh
- ./build.sh
- cd tests/unit
- ./run-tests.sh
- ls -la /cores
- mkdir logs && (mv log_run-tests_*.html logs || true) && (mv backtrace_*.txt logs || true)
- echo 0 > run-tests-status.txt
- ./collect-test-logs.sh && exit 0 || echo 'Some tests failed'
- echo 1 > run-tests-status.txt
- cd logs && ls -la
- name: notify
image: signalwire/unit-tests-notify
pull: true
environment:
GITHUB_CI_APP_PEM:
from_secret: github_ci_app_pem
SSH_KEY:
from_secret: ssh_key
SLACK_WEBHOOK_URL:
from_secret: slack_webhook_url
commands:
- /root/notify.sh
trigger:
branch:
- master
event:
- pull_request
- push
---
kind: signature
hmac: 55dc56b2c540a026a1d81df52be401ce67a76ecec12e8f36802c29314142b21e
...
C
1
https://gitee.com/guiyongdong/freeswitch.git
git@gitee.com:guiyongdong/freeswitch.git
guiyongdong
freeswitch
freeswitch
master

搜索帮助