Skip to content

Commit

Permalink
feat: Add GitHub Actions workflow for ESP-IDF buil
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] committed Feb 6, 2024
1 parent 627d10a commit b498ab5
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/esp-idf-build.yml
@@ -0,0 +1,30 @@
name: ESP-IDF Build for ESP32

on: push

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up ESP-IDF environment
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: v4.4.6
target: esp32s3

- name: Check out repository
uses: actions/checkout@v2

- name: Navigate to esp32 directory
run: cd esp32

- name: Build firmware
run: |
. $HOME/esp/esp-idf/export.sh
idf.py build
- name: Archive firmware binary
uses: actions/upload-artifact@v2
with:
name: firmware
path: build/esp32/*.bin

0 comments on commit b498ab5

Please sign in to comment.