From 9a9be0d9e43a2a209f18132bd40cd613f4e7d379 Mon Sep 17 00:00:00 2001 From: Vikram Dattu Date: Mon, 23 Sep 2024 16:47:39 +0530 Subject: [PATCH] Added launchpad support - TODO: modify URLs to espressif --- .github/workflows/launchpad.yml | 62 +++++++++++++++++++++++++++++++++ .idf_build_apps.toml | 6 ++++ README.md | 13 +++++++ 3 files changed, 81 insertions(+) create mode 100644 .github/workflows/launchpad.yml create mode 100644 .idf_build_apps.toml diff --git a/.github/workflows/launchpad.yml b/.github/workflows/launchpad.yml new file mode 100644 index 0000000..c6cad91 --- /dev/null +++ b/.github/workflows/launchpad.yml @@ -0,0 +1,62 @@ +name: Launchpad CI + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + + build: + strategy: + matrix: + idf_ver: ["release-v5.3"] + runs-on: ubuntu-latest + container: espressif/idf:${{ matrix.idf_ver }} + steps: + - name: Checkout repo + uses: actions/checkout@v3 + with: + submodules: 'recursive' + + - name: Action for Building and Uploading Binaries + uses: espressif/idf-examples-launchpad-ci-action@v1.0.1 + with: + idf_version: ${{ matrix.idf_ver }} + + - name: Upload Artifact + uses: actions/upload-artifact@v3 + with: + name: built_files + path: binaries/ + + deploy: + needs: build + + permissions: + pages: write + id-token: write + + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + runs-on: ubuntu-latest + steps: + - name: Download built files + uses: actions/download-artifact@v3 + with: + name: built_files + path: binaries/ + + - name: Upload built files to gh pages + uses: actions/upload-pages-artifact@v2 + with: + path: binaries/ + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 diff --git a/.idf_build_apps.toml b/.idf_build_apps.toml new file mode 100644 index 0000000..63d09a7 --- /dev/null +++ b/.idf_build_apps.toml @@ -0,0 +1,6 @@ +target = "esp32 esp32s3 esp32p4" +paths = "examples" +recursive = false + +# build related options +build_dir = "build_@t_@w" diff --git a/README.md b/README.md index 00c91ee..383dc35 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,19 @@ | ----------- | --------- | | Examples Build | [![CI](https://github.com/espressif/esp-tflite-micro/actions/workflows/ci.yml/badge.svg)](https://github.com/espressif/esp-tflite-micro/actions/workflows/ci.yml) +

+ + GitHub + + + + +

+ + + Try it with ESP Launchpad + + ## How to Install ### ESP-IDF Support Policy