krishnanadh / rpms / rasdaemon

Forked from rpms/rasdaemon a year ago
Clone

Blame SOURCES/f7cdd720297cd17e405a7170c04df89d1d9536f8.patch

7fca25
commit f7cdd720297cd17e405a7170c04df89d1d9536f8
7fca25
Author: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
7fca25
Date:   Wed May 26 12:35:55 2021 +0200
7fca25
7fca25
    Add a github workflow for CI automation
7fca25
    
7fca25
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
7fca25
7fca25
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
7fca25
new file mode 100644
7fca25
index 0000000..5b3e757
7fca25
--- /dev/null
7fca25
+++ b/.github/workflows/ci.yml
7fca25
@@ -0,0 +1,34 @@
7fca25
+name: CI
7fca25
+
7fca25
+# Should run only on branches and PR, as "on_tag.yml" will handle tags
7fca25
+on:
7fca25
+  push:
7fca25
+    branches: master test
7fca25
+  pull_request:
7fca25
+    branches: master
7fca25
+
7fca25
+jobs:
7fca25
+
7fca25
+#
7fca25
+# Linux
7fca25
+#
7fca25
+  Ubuntu:
7fca25
+    name: Ubuntu
7fca25
+    runs-on: ubuntu-20.04
7fca25
+    strategy:
7fca25
+      matrix:
7fca25
+        arch: [x64_64, aarch64, armv7, ppc64le]
7fca25
+    steps:
7fca25
+    - uses: actions/checkout@v2
7fca25
+      with:
7fca25
+        arch: ${{ matrix.arch }}
7fca25
+    - name: prepare
7fca25
+      run: |
7fca25
+        sudo apt-get update
7fca25
+        sudo apt-get install -y build-essential sqlite3
7fca25
+    - name: build
7fca25
+      run: |
7fca25
+        autoreconf -vfi
7fca25
+        ./configure --enable-all
7fca25
+        make
7fca25
+        sudo make install