add arduino-ci support
This commit is contained in:
parent
9b4ca0e5b6
commit
f12599405a
25
.arduino-ci.yml
Normal file
25
.arduino-ci.yml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# https://github.com/Arduino-CI/arduino_ci/issues/159
|
||||||
|
# copied from vendor/bundle/ruby/2.6.0/gems/arduino_ci-0.3.0/misc/default.yml
|
||||||
|
platforms:
|
||||||
|
mega2560:
|
||||||
|
board: arduino:avr:mega:cpu=atmega2560
|
||||||
|
package: arduino:avr
|
||||||
|
gcc:
|
||||||
|
features:
|
||||||
|
defines:
|
||||||
|
- __AVR_ATmega2560__
|
||||||
|
# added this line
|
||||||
|
- ARDUINO_CI
|
||||||
|
warnings:
|
||||||
|
flags:
|
||||||
|
|
||||||
|
unittest:
|
||||||
|
platforms:
|
||||||
|
- mega2560
|
||||||
|
testfiles:
|
||||||
|
reject:
|
||||||
|
- "Common.cpp"
|
||||||
|
|
||||||
|
compile:
|
||||||
|
platforms:
|
||||||
|
- mega2560
|
2
.bundle/config
Normal file
2
.bundle/config
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
BUNDLE_PATH: "vendor/bundle"
|
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Gemfile.lock
|
||||||
|
vendor
|
||||||
|
# C++ stuff
|
||||||
|
*.bin
|
||||||
|
*.bin.dSYM
|
6
test/test.cpp
Normal file
6
test/test.cpp
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#include "Arduino.h"
|
||||||
|
#include "ArduinoUnitTests.h"
|
||||||
|
|
||||||
|
unittest(test) { assertTrue(true); }
|
||||||
|
|
||||||
|
unittest_main()
|
Loading…
Reference in New Issue
Block a user