Introduce a simple CI that builds wayvnc

This sets up a github action to build the master branch and every PR to
master.

Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
pull/189/head
Jim Ramsay 2022-11-20 21:44:38 -05:00 committed by Andri Yngvason
parent ef2e68af70
commit 7491a319d5
1 changed files with 31 additions and 0 deletions

31
.github/workflows/build.yml vendored 100644
View File

@ -0,0 +1,31 @@
name: Build check
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: checkout aml
uses: actions/checkout@v3
with:
repository: any1/aml
path: subprojects/aml
- name: checkout neatvnc
uses: actions/checkout@v3
with:
repository: any1/neatvnc
path: subprojects/neatvnc
- name: setup
run: sudo apt install -y meson libdrm-dev libxkbcommon-dev libwlroots-dev libjansson-dev
- name: configure
run: meson build
- name: make
run: ninja -C build