diff options
Diffstat (limited to '.github/workflows/c-cpp.yml')
| -rw-r--r-- | .github/workflows/c-cpp.yml | 21 |
1 files changed, 21 insertions, 0 deletions
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 |
