From 2b37a26dcec389723f75d69d3da9c2f15f6c317d Mon Sep 17 00:00:00 2001
From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Date: Wed, 26 May 2021 12:41:27 +0200
Subject: [PATCH] ci.yml: Fix the job for it to run on a single arch

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 | 37 +++++++++++++------------------------
 1 file changed, 13 insertions(+), 24 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5b3e757..747a844 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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
-- 
2.49.0