CI: Use meson build #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Dependencies | |
run: | | |
sudo apt update | |
sudo apt install meson ninja libhidapi-dev libdbus-1-dev libudev-dev | |
- name: Build | |
run: meson setup ${{github.workspace}} && ninja -C ${{github.workspace}} | |
- name: Install | |
run: sudo ninja -C ${{github.workspace}} install |