add tcping for ubuntu24.04
All checks were successful
Deploy Docker Images / Build dockerfile and Server deploy (push) Successful in 12m30s

This commit is contained in:
amass 2024-11-14 00:05:09 +08:00
parent b4d8b8df0f
commit 130ae630aa
3 changed files with 13 additions and 2 deletions

View File

@ -1,6 +1,10 @@
name: Deploy
run-name: build and deploy app to server.
on: [push]
on:
push:
paths:
- '**.cpp'
- '**.h'
jobs:
Build:
runs-on: [ubuntu-latest, ubuntu-24.04]

View File

@ -1,6 +1,9 @@
name: Deploy Docker Images
run-name: build and deploy docker image to server.
on: [push]
on:
push:
paths:
- '**.dockerfile'
jobs:
Build dockerfile and Server deploy:
runs-on: ubuntu-latest

View File

@ -101,6 +101,10 @@ RUN cd /root \
&& cmake --install build \
&& rm -fr /root/wt-${WT_VERSION}*
RUN wget https://github.com/pouriyajamshidi/tcping/releases/download/v2.6.0/tcping_Linux.tar.gz -O /tmp/tcping_Linux.tar.gz \
&& tar -xzf /tmp/tcping_Linux.tar.gz -C /usr/bin \
&& rm /tmp/tcping_Linux.tar.gz
RUN cd /root \
&& git clone --depth=1 --recursive https://github.com/ZLMediaKit/ZLMediaKit.git \
&& cd /root/ZLMediaKit \