]> www.infradead.org Git - users/mchehab/rasdaemon.git/commitdiff
Add a github workflow for CI automation
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 26 May 2021 10:35:55 +0000 (12:35 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 26 May 2021 10:35:55 +0000 (12:35 +0200)
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
.github/workflows/ci.yml [new file with mode: 0644]

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644 (file)
index 0000000..5b3e757
--- /dev/null
@@ -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