Add classic systemd build workflows.
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
name: Check Basic Classic on systemd
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "danger" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install Dependencies
|
||||
run: sudo apt-get -y --no-install-recommends install build-essential git xmltoman autoconf automake libtool libpopt-dev libconfig-dev libasound2-dev avahi-daemon libavahi-client-dev libssl-dev libsoxr-dev
|
||||
- name: Configure
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
autoreconf -i ..
|
||||
../configure --sysconfdir=/etc --with-alsa --with-soxr --with-avahi --with-ssl=openssl --with-systemd
|
||||
- name: Make
|
||||
run: |
|
||||
cd build
|
||||
make -j
|
||||
- name: Install
|
||||
run: |
|
||||
cd build
|
||||
sudo make install
|
||||
- name: Invoke
|
||||
run: |
|
||||
sudo systemctl start shairport-sync
|
||||
- name: Terminate
|
||||
run: |
|
||||
sudo systemctl stop shairport-sync
|
||||
|
||||
Reference in New Issue
Block a user