All Projects → Legion2 → arduino-builder-action

Legion2 / arduino-builder-action

Licence: Apache-2.0 license
Github Action to run arduino-builder for sketches and see if they compile

Programming Languages

shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to arduino-builder-action

VisualTeensy
VisualCode projects for PJRC Teensy boards
Stars: ✭ 101 (+206.06%)
Mutual labels:  arduino-builder

DEPRECATION WARNING: Arduino Builder is being phased out in favor of Arduino CLI, I recommend using Test compile for Arduino by ArminJo.

Read my blog post on how to use Arduino CLI in GitHub Actions and how to migrate from this Action to Arduino CLI.

Run arduino-builder

Github Action to run arduino-builder for sketches and see if they compile. Used Arduino IDE version is 1.8.3.

Usage

See action.yml for comprehensive list of parameters.

Basic:

name: Build examples
on: push
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - name: Build all example sketches
      uses: Legion2/[email protected]
      with:
        board: "arduino:avr:leonardo"

Arguments

Specified arguments override any input parameters passed to arduino-builder, with the exception of the sketch input parameter. Only use arguments if the input parameters don't provide the feature you need. See the the action.yml for comprehensive list of input parameters.

Install Libraries

Libraries SHOULD be installed by a previous step in the job in libraries/. You can use Download GitHub Release Action to install a library form a GitHub Release.

License

The Dockerfile and associated scripts and documentation in this project are released under the Apache-2.0 License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].