summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml20
-rw-r--r--README.md2
2 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..9b61ea6
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,20 @@
+name: build
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-20.04
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: deps
+ run: sudo apt install libao-dev libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev libcurl4-gnutls-dev libgcrypt20-dev libjson-c-dev libpth-dev pkg-config build-essential
+ - name: make
+ run: make
+
diff --git a/README.md b/README.md
index 3f3c005..971228e 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# pianobar
+![build](https://github.com/PromyLOPh/pianobar/workflows/build/badge.svg)
+
pianobar is a console client for the personalized web radio [Pandora](https://www.pandora.com).
### Features