2020-05-22 14:17:57 -04:00
|
|
|
name: Ubuntu
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: install dependencies
|
2020-06-08 05:26:30 -04:00
|
|
|
run: |
|
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get install -yq build-essential clang clang-tools git autotools-dev autoconf libtool gettext gawk gperf antlr3 libantlr3c-dev libconfuse-dev libunistring-dev libsqlite3-dev libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev libavutil-dev libasound2-dev libmxml-dev libgcrypt20-dev libavahi-client-dev zlib1g-dev libevent-dev libplist-dev libsodium-dev libcurl4-openssl-dev libjson-c-dev libprotobuf-c-dev libpulse-dev libwebsockets-dev libgnutls28-dev
|
2021-03-20 02:57:12 -04:00
|
|
|
- name: build and check
|
2020-05-22 14:17:57 -04:00
|
|
|
run: |
|
|
|
|
autoreconf -vi
|
|
|
|
./configure
|
2021-03-20 02:57:12 -04:00
|
|
|
make
|
|
|
|
make check
|
|
|
|
make distcheck
|
|
|
|
- name: build with lastfm, chromecast, pulse
|
|
|
|
run: |
|
|
|
|
autoreconf -vi
|
|
|
|
./configure --enable-lastfm --enable-chromecast --with-pulseaudio
|
|
|
|
make
|