DEBUG: tree output #249
Workflow file for this run
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 | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
path: Arduino-Zephyr-API-cloned | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Setup Zephyr project | |
uses: zephyrproject-rtos/action-zephyr-setup@v1 | |
with: | |
app-path: Arduino-Zephyr-API-cloned | |
toolchains: all | |
- name: Initialize | |
working-directory: Arduino-Zephyr-API-cloned | |
run: | | |
echo ls /home/runner/work/gsoc-2022-arduino-core/gsoc-2022-arduino-core | |
tree /home/runner/work/gsoc-2022-arduino-core/gsoc-2022-arduino-core | |
west init -m https://github.com/zephyrproject-rtos/gsoc-2022-arduino-core.git | |
west update | |
git clone https://github.com/arduino/ArduinoCore-API.git ArduinoCore-API | |
cp -r ArduinoCore-API/api modules/lib/Arduino-Zephyr-API/cores/arduino/. | |
- name: Build fade | |
working-directory: Arduino-Zephyr-API-cloned | |
run: | | |
west build -p -b arduino_nano_33_ble_sense samples/fade | |
- name: Build i2cdemo | |
working-directory: Arduino-Zephyr-API | |
run: | | |
west build -p -b arduino_nano_33_ble_sense samples/i2cdemo | |
- name: Build adc | |
working-directory: Arduino-Zephyr-API | |
run: | | |
west build -p -b beagleconnect_freedom samples/analog_input | |
- name: Archive firmware | |
uses: actions/upload-artifact@v2 | |
with: | |
name: firmware | |
path: Arduino-Zephyr-API/build/zephyr/zephyr.* |