Skip to content

Fix default I²C pins with Pin Control definitions #25

Fix default I²C pins with Pin Control definitions

Fix default I²C pins with Pin Control definitions #25

Workflow file for this run

---
name: Build
on: [push, pull_request]
jobs:
arduino:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Setup Arduino CLI
uses: arduino/[email protected]
- name: Initialize Arduino CLI configuration
run: arduino-cli config init
- name: Install ESP32 Arduino core
run: |
arduino-cli config add board_manager.additional_urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
arduino-cli core update-index
arduino-cli core install esp32:esp32
- name: Install libraries
run: arduino-cli lib install NimBLE-Arduino
- name: Build Arduino sketches
run: ./scripts/build_arduino.sh
zephyr:
runs-on: ubuntu-20.04
container: zephyrprojectrtos/ci:latest
env:
CMAKE_PREFIX_PATH: /opt/toolchains
steps:
- name: Allow repo access (see https://github.com/actions/checkout/issues/760)
run: |
git config --global --add safe.directory /__w/bluetooth-low-energy-applications/bluetooth-low-energy-applications
- name: Checkout code
uses: actions/[email protected]
- name: Initialize Zephyr environment
run: |
pip3 install -U west
west init zephyrproject
cd zephyrproject
west update
west zephyr-export
pip3 install -r zephyr/scripts/requirements-base.txt
- name: Build Zephyr applications
working-directory: zephyrproject/zephyr
run: ../../scripts/build_zephyr.sh ../..