summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2020-08-09 11:02:33 +0200
committerLars-Dominik Braun <lars@6xq.net>2020-08-09 11:02:33 +0200
commit0f856e8c8721537a0c945b7036351e4073dc0b04 (patch)
tree50a4ae439a243fc9fd059d47b109e2ef9138b706
parent4c228cd60890c0ef09c345c13713453c4c2dd508 (diff)
downloadpianobar-0f856e8c8721537a0c945b7036351e4073dc0b04.tar.gz
pianobar-0f856e8c8721537a0c945b7036351e4073dc0b04.tar.bz2
pianobar-0f856e8c8721537a0c945b7036351e4073dc0b04.zip
Add GitHub Actions-based CI
We don’t really need it, but why not…
-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