Skip to content

Commit

Permalink
Add test for Debian 11 and Debian 12
Browse files Browse the repository at this point in the history
  • Loading branch information
muratugureminoglu committed Nov 19, 2024
1 parent 65d88eb commit a990b48
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/actions/deploy-debian-11/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Deploy on Debian 11
runs:
using: composite
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Ant Media Server
shell: bash
run: |
apt-get -y install wget which findutils which crontabs unzip
curl -L -o ant-media-server-community.zip $(curl -s https://api.github.com/repos/ant-media/Ant-Media-Server/releases/latest | grep "browser_download_url" | cut -d '"' -f 4)
bash ./install_ant-media-server.sh -i ant-media-server-community.zip -s false
/usr/local/antmedia/antmedia start
sleep 40
if [ $(cat /usr/local/antmedia/log/ant-media-server.log | grep "LiveApp started" | wc -l | xargs) -eq 0 ]; then
echo "LiveApp started log does not exist. Check the logs above"
exit 1;
fi;
File renamed without changes.
16 changes: 16 additions & 0 deletions .github/workflows/debian.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Debian
on: [push]

jobs:
Debian11:
runs-on: ubuntu-24.04
container: debian:11
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/deploy-debian-11
Debian12:
runs-on: ubuntu-24.04
container: debian:12
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/deploy-debian-12

0 comments on commit a990b48

Please sign in to comment.