Update README.md #171
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: Basic ALSA configuration for systemd, using a build folder. | |
on: | |
push: | |
branches: [ "development" ] | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/[email protected] | |
- 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 libplist-dev libsodium-dev libavutil-dev libavcodec-dev libavformat-dev uuid-dev libgcrypt-dev xxd | |
- name: Configure | |
run: | | |
mkdir build | |
cd build | |
autoreconf -i .. | |
../configure --sysconfdir=/etc --with-alsa --with-soxr --with-avahi --with-ssl=openssl --with-systemd --with-airplay-2 | |
- 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 | |