From a2a185b46c46abb724e0bf9d4faa441f528f9cec Mon Sep 17 00:00:00 2001
From: tobtoht <tob@featherwallet.org>
Date: Sat, 30 Dec 2023 23:20:51 +0100
Subject: [PATCH] actions: add ubuntu without scanner build

---
 .github/workflows/build.yml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 .github/workflows/build.yml

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..58f6fa1
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,24 @@
+name: ci/gh-actions/build
+
+on: [push, pull_request]
+
+jobs:
+  build-ubuntu-without-scanner:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v4
+        with:
+          submodules: recursive
+      - name: update apt
+        run: sudo apt update
+      - name: install dependencies
+        run: sudo apt -y install git cmake build-essential ccache libssl-dev libunbound-dev libboost-all-dev
+                                 libqrencode-dev qt6-base-dev libgl1-mesa-dev libqt6svg6-dev libqt6websockets6-dev
+                                 qt6-multimedia-dev libzip-dev libsodium-dev libgcrypt-dev libx11-xcb-dev
+                                 libprotobuf-dev libhidapi-dev libzxingcore-dev
+      - name: build
+        run: |
+          mkdir build
+          cd build
+          cmake -DWITH_SCANNER=OFF ..
+          cmake --build . -j $(nproc)