From de2095943f80a380360bc9608e63524404055a48 Mon Sep 17 00:00:00 2001 From: prifak <33462815+prifak@users.noreply.github.com> Date: Mon, 16 Jun 2025 14:13:35 +0200 Subject: [PATCH] Create test workflow Maybe it will be release workflow --- .github/workflows/c-cpp.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/c-cpp.yml diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 0000000..6b2f1c6 --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,24 @@ +name: C Make CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install dependencies + run: sudo apt update && sudo apt install -y libhidapi-dev + + - name: Build project + run: make + + - name: Install (optional) + run: sudo make install