Skip to content

fix source export.sh (1º tried) #5

fix source export.sh (1º tried)

fix source export.sh (1º tried) #5

Workflow file for this run

name: CI Build
on: [push]
jobs:
build:
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-latest]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- uses: korandoru/setup-zig@v1
with:
zig-version: master
- name: prepare-linux
run: |
sudo apt-get update
sudo apt-get install -y cmake
git clone --recursive https://github.com/espressif/esp-idf -b v5.3-dev --depth 1
cd esp-idf && chmod +x ./install.sh && ./install.sh
chmod +x ./export.sh
cd ..
- name: Build for esp32-c3
run: |
source esp-idf/export.sh
idf.py set-target esp32c3
idf.py build
idf.py size
idf.py fullclean
- name: Build for esp32-h2
run: |
source esp-idf/export.sh
idf.py set-target esp32h2
idf.py build
idf.py size
idf.py fullclean
- name: Build for esp32-p4
run: |
source esp-idf/export.sh
idf.py --preview set-target esp32p4
idf.py build
idf.py size
idf.py fullclean