Skip to content

Commit

Permalink
Add a GitHub CI workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Jun 11, 2024
1 parent b0a426b commit 9f290e1
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
libmagic: [disabled, enabled]
qrencode: [disabled, enabled]
ssl: [disabled, enabled]
upnp: [disabled, enabled]
#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

0 comments on commit 9f290e1

Please sign in to comment.