test with all build flow #211
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: | |
name: Build my artifact | |
runs-on: ubuntu-latest | |
steps: | |
- name: Maximize build space | |
uses: AdityaGarg8/remove-unwanted-software@v4.1 | |
with: | |
remove-android: 'true' | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
path: Arduino-Zephyr-API | |
- name: Build | |
run: | | |
echo "Free space:" | |
df -h | |
- name: test | |
uses: addnab/docker-run-action@v3 | |
with: | |
image: zephyrprojectrtos/ci:latest | |
options: -v ${{ github.workspace }}:/var/www | |
run: | | |
echo hello | |
- name: Initialize | |
working-directory: Arduino-Zephyr-API | |
run: | | |
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 | |
run: | | |
west build -p -b arduino_nano_33_ble_sense samples/fade |