Blob Blame History Raw
commit f7cdd720297cd17e405a7170c04df89d1d9536f8
Author: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Date:   Wed May 26 12:35:55 2021 +0200

    Add a github workflow for CI automation
    
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..5b3e757
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,34 @@
+name: CI
+
+# Should run only on branches and PR, as "on_tag.yml" will handle tags
+on:
+  push:
+    branches: master test
+  pull_request:
+    branches: master
+
+jobs:
+
+#
+# Linux
+#
+  Ubuntu:
+    name: Ubuntu
+    runs-on: ubuntu-20.04
+    strategy:
+      matrix:
+        arch: [x64_64, aarch64, armv7, ppc64le]
+    steps:
+    - uses: actions/checkout@v2
+      with:
+        arch: ${{ matrix.arch }}
+    - name: prepare
+      run: |
+        sudo apt-get update
+        sudo apt-get install -y build-essential sqlite3
+    - name: build
+      run: |
+        autoreconf -vfi
+        ./configure --enable-all
+        make
+        sudo make install