From a84c552d435fad33a7487b4099dcfe1bd3ed087f Mon Sep 17 00:00:00 2001 From: tobtoht Date: Fri, 21 Feb 2025 20:09:05 +0100 Subject: [PATCH] ci: add arch linux build --- .github/workflows/build.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 34f95790..17484c4c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,3 +23,22 @@ jobs: cd build cmake -DWITH_SCANNER=OFF .. cmake --build . -j $(nproc) + + build-arch: + name: 'Arch Linux' + runs-on: ubuntu-latest + container: + image: archlinux:latest + steps: + - name: install dependencies + run: pacman -Syyu --noconfirm git cmake base-devel unbound boost qrencode qt6-base qt6-svg qt6-websockets qt6-wayland qt6-multimedia libzip hidapi protobuf zxing-cpp + - name: configure git + run: git config --global --add safe.directory '*' + - uses: actions/checkout@v4 + with: + submodules: recursive + - uses: ./.github/actions/set-make-job-count + - name: build + run: | + cmake -S . -B build + cmake --build build -j $(nproc) -- 2.52.0