summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-06-02 17:53:58 +0200
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-06-02 17:54:48 +0200
commit48edb399846edbe35c1c33e345089b0dcdc6204f (patch)
treeb7b4cf6a3ebaa851323deca3ba13cc72af2859f9
parent7bc68fd1dad5784ecce09cdf921160b53ecf7191 (diff)
downloadmicrocom-48edb399846edbe35c1c33e345089b0dcdc6204f.tar.gz
microcom-48edb399846edbe35c1c33e345089b0dcdc6204f.tar.xz
Add definition for a GitHub Actions CI job
The job just does the common autoreconf ./configure make make check make distcheck five-finger exercise. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
-rw-r--r--.github/workflows/build.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..68ae1a5
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,38 @@
+---
+name: Build test
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Install Dependencies
+ run:
+ sudo apt install
+ libreadline6-dev
+ autoconf
+ automake
+
+ - name: Prepare (autoreconf)
+ run: autoreconf -i
+
+ - name: Prepare (configure)
+ run: ./configure
+
+ - name: Build
+ run: make
+
+ - name: Run check
+ run: make check
+
+ - name: Run distcheck
+ run: make distcheck