From 933658113ef7b5acd61c91d0729566e0c33d2bef Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Sun, 18 Dec 2022 16:26:53 +0200 Subject: Add github workflows file Signed-off-by: Tomi Valkeinen --- .github/workflows/c-cpp.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/c-cpp.yml (limited to '.github/workflows') diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 0000000..672267d --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,21 @@ +name: C/C++ CI + +on: + push: + branches: [ "master", "test" ] + pull_request: + branches: [ "master", "test" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: install deps + run: sudo apt install -y meson ninja-build libdrm-dev libegl1-mesa-dev libgles2-mesa-dev libwayland-dev libx11-xcb-dev libx11-dev libgbm-dev libevdev-dev libfmt-dev + - name: configure + run: meson -Dkmscube=true -Dpykms=enabled -Dwerror=true -Db_lto=true build + - name: build + run: ninja -v -C build -- cgit v1.2.3