Skip to content

CI/CD: updated to ESP-IDF v5.1.1 #67

CI/CD: updated to ESP-IDF v5.1.1

CI/CD: updated to ESP-IDF v5.1.1 #67

Workflow file for this run

name: Mbed OS builds
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
defaults:
run:
shell: bash
jobs:
mbedos_build:
runs-on: ubuntu-latest
container: ghcr.io/pstolarz/mbedos-ci
strategy:
matrix:
example:
- DallasTemperature
steps:
- uses: actions/checkout@v3
- name: Build
run: |
repo_dir=$(pwd)
mkdir /tmp/mbedos-build && cd /tmp/mbedos-build
ln -s ${repo_dir} OneWireNg
ln -s ${repo_dir}/examples/mbed-os/${{ matrix.example }}/${{ matrix.example }}.cpp ${{ matrix.example }}.cpp
jq '.target_overrides."*" += {
"OneWireNg.pwr_ctrl_enabled": 1,
"OneWireNg.overdrive_enabled": 1,
"OneWireNg.crc16_enabled": 1,
"OneWireNg.iteration_retries": 1}' \
${repo_dir}/examples/mbed-os/${{ matrix.example }}/mbed_app.json >mbed_app.json
sudo mbed new .
sudo mbed ls
sudo mbed compile -m NUCLEO_L552ZE_Q