Add OpenCyphal Node (#3) #18
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
name: Build | |
# Run this action during every push and pull request. | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
# List of jobs that this action will run. | |
jobs: | |
# This job will build the project on ubuntu | |
# using esp-idf-ci-action. | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
# Build the project using | |
# esp-idf-ci-action. | |
- name: Test build | |
uses: espressif/esp-idf-ci-action@v1 | |
with: | |
esp_idf_version: latest | |
target: esp32 | |
path: "/" | |
command: | | |
idf.py build && | |
cd build && | |
mkdir merged && | |
esptool.py --chip esp32 merge_bin -o merged/esp32_socketcand_adapter.bin @flash_args && | |
cd ../ |