MCPWM Implementation update for ESP-IDF 5.0 #160
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: SRA Board component | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build-test: | |
name: Test Build of component | |
runs-on: ubuntu-latest | |
container: | |
image: espressif/idf:release-v5.1 | |
strategy: | |
matrix: | |
test-apps: [bar_graph, lsa, motor_driver_normal, mpu6050, servos, switches, oled] | |
steps: | |
- name: Force Install GIT latest | |
run: | | |
apt-get update \ | |
&& DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common \ | |
&& apt-get update \ | |
&& add-apt-repository -y ppa:git-core/ppa \ | |
&& apt-get update \ | |
&& DEBIAN_FRONTEND=noninteractive apt-get install -y git | |
- name: Setup Github Actions | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
fetch-depth: 1 | |
- name: Test ${{ matrix.test-apps }} | |
run: | | |
. $IDF_PATH/export.sh | |
cd examples/ | |
cd ${{ matrix.test-apps }} | |
idf.py build |