-
Notifications
You must be signed in to change notification settings - Fork 487
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Miles Burton
committed
Jan 9, 2025
1 parent
222ba3f
commit 8d3e44b
Showing
13 changed files
with
931 additions
and
1,402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
compile: | ||
# Choosing to run compilation tests on 2 different Arduino platforms | ||
platforms: | ||
- uno | ||
- due | ||
# - zero # SAMD covered by M4 | ||
# - leonardo # AVR covered by UNO | ||
- m4 | ||
# - esp32 # errors on OneWire => util/crc16.h vs rom/crc.h | ||
- esp8266 | ||
# - mega2560 # AVR covered by UNO | ||
unittest: | ||
# These dependent libraries will be installed | ||
libraries: | ||
- "OneWire" | ||
skip_unittest: true | ||
|
||
aux_libraries_for_ci: | ||
- "OneWire" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,15 @@ | ||
board_manager: | ||
additional_urls: | ||
- https://arduino.esp8266.com/stable/package_esp8266com_index.json | ||
- https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json | ||
daemon: | ||
port: "50051" | ||
directories: | ||
data: /root/.arduino15 | ||
downloads: /root/.arduino15/staging | ||
user: /root/Arduino | ||
library: | ||
enable_unsafe_install: true | ||
logging: | ||
file: "" | ||
format: text | ||
level: info | ||
metrics: | ||
addr: :9090 | ||
enabled: true | ||
sketch: | ||
always_export_binaries: false | ||
compile: | ||
# Choosing to run compilation tests on 2 different Arduino platforms | ||
platforms: | ||
- uno | ||
- due | ||
# - zero # SAMD covered by M4 | ||
# - leonardo # AVR covered by UNO | ||
- m4 | ||
# - esp32 # errors on OneWire => util/crc16.h vs rom/crc.h | ||
# - esp8266 | ||
# - mega2560 # AVR covered by UNO | ||
unittest: | ||
# These dependent libraries will be installed | ||
libraries: | ||
- "OneWire" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,39 @@ | ||
--- | ||
name: Arduino CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
runTest: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ruby/setup-ruby@v1 | ||
|
||
- name: Create required directories | ||
run: | | ||
mkdir -p $GITHUB_WORKSPACE/libraries | ||
mkdir -p $GITHUB_WORKSPACE/.arduino15 | ||
mkdir -p $GITHUB_WORKSPACE/Arduino | ||
- name: Setup Arduino CLI | ||
uses: arduino/setup-arduino-cli@v1 | ||
|
||
- name: Configure Arduino CLI | ||
run: | | ||
arduino-cli config init | ||
arduino-cli config set library.enable_unsafe_install true | ||
arduino-cli core update-index | ||
arduino-cli core install arduino:avr | ||
- name: Install OneWire library | ||
run: | | ||
arduino-cli lib install OneWire | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.6 | ||
- run: | | ||
gem install arduino_ci | ||
arduino_ci.rb | ||
ruby-version: '2.6' | ||
|
||
- name: Install Arduino CI | ||
run: | | ||
gem install arduino_ci -v 1.5.0 |
Oops, something went wrong.