krishnanadh / rpms / rasdaemon

Forked from rpms/rasdaemon a year ago
Clone

Blame SOURCES/f7cdd720297cd17e405a7170c04df89d1d9536f8.patch

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