Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nowrep committed Aug 1, 2023
1 parent b2d2ecc commit 116e508
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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 libhidapi-dev libdbus-1-dev libudev-dev
- name: Build
run: make --C ${{github.workspace}}/build

- name: Install
run: sudo make --C ${{github.workspace}}/build install

0 comments on commit 116e508

Please sign in to comment.