Merge pull request #1217 from darrell-k/dont-trigger-change-undef-pref #1500
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
name: 'Smoketest for Lyrion Music Server' | |
on: | |
push: | |
workflow_dispatch: | |
pull_request_target: | |
types: [assigned, labeled] | |
jobs: | |
linux: | |
name: Run LMS to see whether it crashes immediately... | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Make sure we're running as non-root | |
run: | | |
if [ "$RUNNER_USER" == "root" ]; then | |
echo Specify non-root image when testing with act: | |
echo act -P ubuntu-24.04=ghcr.io/catthehacker/ubuntu:runner-24.04 | |
exit 1 | |
fi | |
- uses: actions/checkout@v4 | |
- name: Install depedencies | |
run: | | |
if [ "$ACT" == "true" ]; then | |
sudo apt-get update | |
fi | |
sudo apt-get install -y libio-socket-ssl-perl libnet-ssleay-perl netcat-traditional | |
- name: Test Strings File | |
run: perl -ICPAN t/verifyStrings.pl | |
- name: Run Startup Test | |
run: bash t/00_smoketest.sh |