From 127bace0abdde04237ee721db5d2f4adf2dd775e Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Wed, 28 Sep 2022 17:53:02 +0100 Subject: [PATCH] Initial full-fat build check -- omits pipewire. --- .github/workflows/check_ap2_systemd_full.yml | 36 ++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/check_ap2_systemd_full.yml diff --git a/.github/workflows/check_ap2_systemd_full.yml b/.github/workflows/check_ap2_systemd_full.yml new file mode 100644 index 00000000..cdccdc38 --- /dev/null +++ b/.github/workflows/check_ap2_systemd_full.yml @@ -0,0 +1,36 @@ +name: Build Check (Nearly) Full AP2 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 libao-dev libjack-dev libpulse-dev libsoundio-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 xxd + - name: Configure + run: | + mkdir build + cd build + autoreconf -i .. + ../configure --sysconfdir=/etc --with-alsa --with-ao --with-dummy --with-jack --with-pa --with-pipe --with-sndio --with-soundio --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 +