-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test for Debian 11 and Debian 12
- Loading branch information
1 parent
65d88eb
commit a990b48
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |