]> www.infradead.org Git - users/mchehab/rasdaemon.git/commitdiff
ci.yml: Fix the job for it to run on a single arch
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 26 May 2021 10:41:27 +0000 (12:41 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 26 May 2021 10:54:58 +0000 (12:54 +0200)
There were some issues on the previous content. Fix them, in
order to allow it to build on a single architecture.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
.github/workflows/ci.yml

index 5b3e75741798f9f71e336287e70499397dee2a2c..747a844ac8356d085228ef537175a6c02283c8c6 100644 (file)
@@ -1,34 +1,23 @@
 name: CI
 
-# Should run only on branches and PR, as "on_tag.yml" will handle tags
 on:
+  workflow_dispatch:
   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]
+    runs-on: ubuntu-latest
     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
+      - uses: actions/checkout@v2
+      - 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