Skip to content

Changed pins

Changed pins #109

Workflow file for this run

# TestCompile.yml
# Github workflow script to test compile all examples of an Arduino library repository.
#
# Copyright (C) 2021 Armin Joachimsmeyer
# https://github.com/ArminJo/Github-Actions
#
# This is the name of the workflow, visible on GitHub UI.
name: TestCompile
on:
workflow_dispatch: # To run it manually
description: 'manual build check'
push: # see: https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-event-pull_request
paths:
- '**.ino'
- '**.cpp'
- '**.h'
- '**TestCompile.yml'
jobs:
build:
name: Test compiling examples for Nano
runs-on: ubuntu-latest
strategy:
matrix:
# The matrix will produce one job for each configuration parameter of type `build-properties`
build-properties:
- -DUSE_NO_LCD
- -DUSE_SERIAL_LCD
- -DUSE_PARALLEL_LCD
- -DBUTTON_IS_ACTIVE_HIGH
include:
- build-properties: -DUSE_NO_LCD
required-libraries: LiquidCrystal # workaround, because Arduino cli wants this library in this case :-(
- build-properties: -DUSE_PARALLEL_LCD
required-libraries: LiquidCrystal
- build-properties: -DUSE_SERIAL_LCD
required-libraries: LiquidCrystal I2C
- build-properties: -DBUTTON_IS_ACTIVE_HIGH
required-libraries: LiquidCrystal
steps:
- name: Checkout
uses: actions/checkout@master
- name: Compile all examples
uses: ArminJo/arduino-test-compile@master
with:
arduino-board-fqbn: arduino:avr:nano:cpu=atmega328
required-libraries: '${{ matrix.required-libraries }}'
build-properties: '{ "All": ${{ toJson(matrix.build-properties) }} }'
# debug-install: true