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 name: Deploy
run-name: build and deploy app to server. run-name: build and deploy app to server.
on: [push] on:
push:
paths:
- '**.cpp'
- '**.h'
jobs: jobs:
Build: Build:
runs-on: [ubuntu-latest, ubuntu-24.04] runs-on: [ubuntu-latest, ubuntu-24.04]

View File

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

View File

@ -101,6 +101,10 @@ RUN cd /root \
&& cmake --install build \ && cmake --install build \
&& rm -fr /root/wt-${WT_VERSION}* && 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 \ RUN cd /root \
&& git clone --depth=1 --recursive https://github.com/ZLMediaKit/ZLMediaKit.git \ && git clone --depth=1 --recursive https://github.com/ZLMediaKit/ZLMediaKit.git \
&& cd /root/ZLMediaKit \ && cd /root/ZLMediaKit \