Create plot_results.py #272
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
# see: https://github.com/marketplace/actions/test-compile-for-arduino | |
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: build for MCU | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Compile sketch | |
uses: ArminJo/arduino-test-compile@v3 | |
with: | |
arduino-board-fqbn: esp32:esp32:m5stack-atoms3:CDCOnBoot=cdc | |
arduino-platform: esp32:[email protected] | |
platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json | |
required-libraries: [email protected],[email protected],[email protected] | |
sketch-names: "*.ino" | |
sketch-names-find-start: bbn_*/* | |
extra-arduino-cli-args: "--warnings default" | |
set-build-path: true | |
- name: Make zip | |
run: | | |
ls /home/runner/work/bbn-wave-period-esp32/bbn-wave-period-esp32/bbn_wave_freq_m5atomS3/build/*.bin | zip bbn_m5tough_active_boat_bin-$(date +%Y-%m-%d).zip -j -@ | |
pwd | |
ls *.zip |