From 54684e52ea99ce60da2074e869acebee74affeb7 Mon Sep 17 00:00:00 2001 From: David Griffith Date: Sun, 25 Feb 2024 14:24:58 +1000 Subject: [PATCH] Create main.yml First attempt at a simple compile-on-push workflow --- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..8797340 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,24 @@ +on: + - push +jobs: + compile-sketch: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: arduino/compile-sketches@v1.10 + with: + platforms: | + - name: adafruit:samd + - source-url: https://adafruit.github.io/arduino-board-index/package_adafruit_index.json + sketch-paths: | + - ./ + libraries: | + - Adafruit BusIO + - Adafruit GFX Library + - Adafruit HX8357 Library + - Adafruit PCF8591 + - DallasTemperature + - FreeRTOS SAMD51 + - MQTT + - OneWire + - WiFiNINA