From bf0dc00174f6dc5995140b29b48b42c5d1dad2ae Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Tue, 7 Jun 2022 16:16:29 +0200 Subject: [PATCH] CI: wip workflow Signed-off-by: Gergely Nagy --- .github/workflows/chrysalis-firmware.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/chrysalis-firmware.yml diff --git a/.github/workflows/chrysalis-firmware.yml b/.github/workflows/chrysalis-firmware.yml new file mode 100644 index 00000000..51c6bf41 --- /dev/null +++ b/.github/workflows/chrysalis-firmware.yml @@ -0,0 +1,24 @@ +name: Build firmware for Chrysalis + +on: + push: + branches: + - examples/factory-firmware + +env: + LC_ALL: C + ARDUINO_DIRECTORIES_USER: ${{ github.workspace }}/.arduino/user + ARDUINO_DIRECTORIES_DATA: ${{ github.workspace }}/.arduino/data +jobs: + compile-chrysalis-firmware: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Cache arduino dep downloads + uses: actions/cache@v2 + with: + path: ${{ github.workspace}}/.arduino/downloads + key: ${{ runner.os }}-arduino-downloads + - run: make setup + - run: arduino-cli core list + - run: git rev-parse HEAD