Change build workflow. #2
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: esp32 port | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths: | |
- ".github/workflows/*.yml" | |
- "microcontroller/core/**" | |
- "microcontroller/ports/esp32/**" | |
- "modules/esp32/**" | |
jobs: | |
build_idf: | |
runs-on: ubuntu-latest | |
container: | |
image: espressif/idf:release-v5.0 | |
env: | |
HOME: tmp | |
volumes: | |
- .:/project | |
options: --user root:root | |
steps: | |
- uses: actions/checkout@v4 | |
- name: test | |
run: ls . | |
- name: Read the ESP-IDF version | |
run: idf.py --version | |
- name: Build runtime for ESP32 | |
working-directory: /project/microcontroller/ports/esp32 | |
run: idf.py build |