Skip to content

Change build workflow. #4

Change build workflow.

Change build workflow. #4

Workflow file for this run

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: docker run --rm -v $PWD:/project -w /project/microcontroller/ports/esp32 -u $UID -e HOME=/tmp espressif/idf:release-v5.0 idf.py build