Skip to content

set up arduino-CI for the library #182

@RobTillaart

Description

@RobTillaart

Please read - https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md

content .arduino-ci.yml

compile:
  # Choosing to run compilation tests on 2 different Arduino platforms
  platforms:
    - uno
    - leonardo
    - due
    - zero
  # Declaring Dependent Arduino Libraries (to be installed via the Arduino Library Manager)
  libraries:
    - "OneWire"

unittest:
  # These dependent libraries will be installed
  libraries:
    - "OneWire"
    # fix the #include "util/crc16" problem here?
    

content arduino_test_runner.yml

---
name: Arduino CI

on: [push, pull_request]

jobs:
  arduino_ci:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - uses: Arduino-CI/action@master
          #   Arduino-CI/action@v0.1.1

Example content unit_test_01.cpp see - https://github.com/RobTillaart/DS18B20_RT/blob/master/test/unit_test_001.cpp_avr_specific

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions