Create test workflow
Maybe it will be release workflow
This commit is contained in:
24
.github/workflows/c-cpp.yml
vendored
Normal file
24
.github/workflows/c-cpp.yml
vendored
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user