From 750b9214fe38e9bac27c385dbf626288f8f9aafb Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Fri, 4 Aug 2023 02:29:12 +0300 Subject: [PATCH] pico hid ci --- .../workflows/{hid.yml => arduino-hid.yml} | 4 ++-- .github/workflows/pico-hid.yml | 20 +++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) rename .github/workflows/{hid.yml => arduino-hid.yml} (83%) create mode 100644 .github/workflows/pico-hid.yml diff --git a/.github/workflows/hid.yml b/.github/workflows/arduino-hid.yml similarity index 83% rename from .github/workflows/hid.yml rename to .github/workflows/arduino-hid.yml index 984f77dd..5a036d10 100644 --- a/.github/workflows/hid.yml +++ b/.github/workflows/arduino-hid.yml @@ -1,4 +1,4 @@ -name: HID CI +name: Arduino HID CI on: push: @@ -20,4 +20,4 @@ jobs: run: pip install platformio - name: Build all - run: make -C hid _build_all + run: make -C hid/arduino _build_all diff --git a/.github/workflows/pico-hid.yml b/.github/workflows/pico-hid.yml new file mode 100644 index 00000000..f8cc41b3 --- /dev/null +++ b/.github/workflows/pico-hid.yml @@ -0,0 +1,20 @@ +name: Pico HID CI + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Installing deps... + run: sudo apt-get install cmake gcc-arm-none-eabi build-essential + + - name: Running tests ... + run: make -C hid/pico all