From 2b4b7507737c96029c817d51eb81caea1f428220 Mon Sep 17 00:00:00 2001 From: Sandeep Mistry Date: Mon, 7 Oct 2019 17:49:30 -0400 Subject: [PATCH] Add Github workflows for compiling examples and spell checking --- .github/workflows/compile-examples.yml | 20 ++++++++++++++++++++ .github/workflows/spell-check.yml | 11 +++++++++++ README.adoc | 2 ++ 3 files changed, 33 insertions(+) create mode 100644 .github/workflows/compile-examples.yml create mode 100644 .github/workflows/spell-check.yml diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml new file mode 100644 index 0000000..c68aa4f --- /dev/null +++ b/.github/workflows/compile-examples.yml @@ -0,0 +1,20 @@ +name: Compile Examples +on: [push, pull_request] +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + fqbn: [ + "arduino:avr:uno", + "arduino:samd:mkrzero" + ] + + steps: + - uses: actions/checkout@v1 + with: + fetch-depth: 1 + - uses: arduino/actions/libraries/compile-examples@master + with: + fqbn: ${{ matrix.fqbn }} diff --git a/.github/workflows/spell-check.yml b/.github/workflows/spell-check.yml new file mode 100644 index 0000000..7b45d77 --- /dev/null +++ b/.github/workflows/spell-check.yml @@ -0,0 +1,11 @@ +name: Spell Check +on: [push, pull_request] +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + with: + fetch-depth: 1 + - uses: arduino/actions/libraries/spell-check@master diff --git a/README.adoc b/README.adoc index 2702b27..88cb3eb 100644 --- a/README.adoc +++ b/README.adoc @@ -1,5 +1,7 @@ = RS485 Library for Arduino = +image:https://github.com/arduino-libraries/ArduinoRS485/workflows/Compile%20Examples/badge.svg["Compile Examples Status", link="https://github.com/arduino-libraries/ArduinoRS485/actions?workflow=Compile+Examples"] image:https://github.com/arduino-libraries/ArduinoRS485/workflows/Spell%20Check/badge.svg["Spell Check Status", link="https://github.com/arduino-libraries/ArduinoRS485/actions?workflow=Spell+Check"] + Enables sending and receiving data using the RS485 standard with RS485 shields, like the MKR 485 Shield. This library supports the Maxim Integrated MAX3157 and equivalent chipsets.