forked from abrasive/shairport
-
-
Notifications
You must be signed in to change notification settings - Fork 575
39 lines (34 loc) · 1.36 KB
/
check_ap2_systemd_full_build_folder.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Configuration (without pa, soundio or apple-alac) for systemd, using a build folder.
on:
workflow_dispatch:
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 libao-dev libjack-dev libsndio-dev libglib2.0-dev libmosquitto-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-ao --with-dummy --with-jack --with-pipe --with-sndio --with-stdout --with-soxr --with-avahi --with-ssl=openssl --with-systemd --with-dbus-interface --with-mpris-interface --with-mqtt-client --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