From c9197d5f732de6bdd498d42d94df072f13e57409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 11 Jun 2024 19:31:48 +0200 Subject: [PATCH] Add a GitHub CI workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .github/workflows/ci.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..5102959 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,27 @@ +name: CI +on: [push, pull_request] +jobs: + build: + strategy: + matrix: + libmagic: [false, true] + qrencode: [false, true] + ssl: [false, true] + upnp: [false, true] + fail-fast: false + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Install dependencies + run: sudo apt-get install -y meson libevent-dev + - name: Configure + run: meson setup . build + -Dlibmagic=${{ matrix.libmagic }} + -Dqrencode=${{ matrix.qrencode }} + -Dssl=${{ matrix.ssl }} + -Dupnp=${{ matrix.upnp }} + - name: Build + run: meson compile -C build + - name: Install + run: sudo meson install -C build