From 2543ee01dc25217f0539934ae5c2df6a0ee92f55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E6=A5=9A?= <771730766@qq.com> Date: Thu, 14 Nov 2019 15:22:15 +0800 Subject: [PATCH] Update ccpp.yml --- .github/workflows/ccpp.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 17674cc2..fc130fbf 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -20,5 +20,8 @@ jobs: run: mkdir -p linux_build && cd linux_build && cmake .. && make -j4 - name: 运行MediaServer - run: pwd && cd release/linux/Debug && ./MediaServer -h + run: pwd && cd release/linux/Debug && sudo ./MediaServer -d & + + - name: 关闭MediaServer + run: sleep 3 && killall -2 MediaServer