Skip to content

Commit

Permalink
Added launchpad support
Browse files Browse the repository at this point in the history
 - TODO: modify URLs to espressif
  • Loading branch information
vikramdattu committed Sep 23, 2024
1 parent a262f79 commit 9a9be0d
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 0 deletions.
62 changes: 62 additions & 0 deletions .github/workflows/launchpad.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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
6 changes: 6 additions & 0 deletions .idf_build_apps.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
target = "esp32 esp32s3 esp32p4"
paths = "examples"
recursive = false

# build related options
build_dir = "build_@t_@w"
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

<p align="left">
<a href="https://github.com/espressif/esp-tflite-micro/blob/master/LICENSE" alt="LICENSE">
<img alt="GitHub" src="https://img.shields.io/github/license/espressif/esp-tflite-micro"></a>
<a href="https://github.com/espressif/esp-tflite-micro/actions/workflows/launchpad.yml" alt="Launchpad CI">
<img src="https://github.com/espressif/esp-tflite-micro/actions/workflows/launchpad.yml/badge.svg" /></a>
<a href="https://github.com/espressif/esp-tflite-micro/graphs/contributors" alt="Contributors">
<img src="https://img.shields.io/github/contributors/espressif/esp-tflite-micro" /></a>
</p>

<a href="https://espressif.github.io/esp-launchpad/?flashConfigURL=https://espressif.github.io/esp-tflite-micro/launchpad.toml">
<img alt="Try it with ESP Launchpad" src="https://espressif.github.io/esp-launchpad/assets/try_with_launchpad.png" width="250" height="70">
</a>

## How to Install

### ESP-IDF Support Policy
Expand Down

0 comments on commit 9a9be0d

Please sign in to comment.