summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-06-02 18:05:02 +0200
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-06-02 18:05:02 +0200
commit63e6314777f161fc71117424b8dd65df98fc6a6d (patch)
treeb7b4cf6a3ebaa851323deca3ba13cc72af2859f9
parent5c38852a8eda2632078af18f3aaa89efe19fd1e7 (diff)
parent48edb399846edbe35c1c33e345089b0dcdc6204f (diff)
downloadmicrocom-63e6314777f161fc71117424b8dd65df98fc6a6d.tar.gz
microcom-63e6314777f161fc71117424b8dd65df98fc6a6d.tar.xz
Merge branch 'ci' of https://github.com/ukleinek/microcom
-rw-r--r--.github/workflows/build.yml38
-rw-r--r--.travis.yml7
2 files changed, 38 insertions, 7 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
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 0723a3a..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-language: c
-compiler: gcc
-dist: trusty
-script:
- - autoreconf -fi
- - ./configure
- - make distcheck