Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.2 to 6.0.3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6.0.2...v6.0.3) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
40 lines
1000 B
YAML
40 lines
1000 B
YAML
name: systemd classic, alsa, using a build folder.
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [ "development" ]
|
|
pull_request:
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6.0.3
|
|
- name: Install Dependencies
|
|
run: sudo apt-get -y --no-install-recommends install xmltoman 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-startup
|
|
- 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
|
|
|