Skip to content

set up arduino-CI for the library #182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4 tasks done
RobTillaart opened this issue Dec 20, 2020 · 1 comment
Closed
4 tasks done

set up arduino-CI for the library #182

RobTillaart opened this issue Dec 20, 2020 · 1 comment

Comments

@RobTillaart
Copy link
Contributor

RobTillaart commented Dec 20, 2020

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/[email protected]

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

@RobTillaart
Copy link
Contributor Author

This one is solved as the PR for the build is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant