Skip to content

chore: updated the docs for this [PR](https://github.com/HaoboGu/rmk-… #621

chore: updated the docs for this [PR](https://github.com/HaoboGu/rmk-…

chore: updated the docs for this [PR](https://github.com/HaoboGu/rmk-… #621

Workflow file for this run

name: Build ESP examples
on:
push:
branches: ["main"]
paths: ["examples/**", "rmk/**", "rmk-macro/**"]
pull_request:
branches: ["main"]
paths: ["examples/**", "rmk/**", "rmk-macro/**"]
workflow_dispatch:
# Cancel any currently running workflows from the same PR, branch, or
# tag when a new workflow is triggered.
#
# https://stackoverflow.com/a/66336834
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
env:
CARGO_TERM_COLOR: always
jobs:
build_esp:
runs-on: ubuntu-22.04
strategy:
matrix:
chip:
- esp32c3
- esp32c6
- esp32s3
example_type:
- use_rust
- use_config
steps:
- uses: cargo-bins/cargo-binstall@main
- uses: actions/checkout@v3
- name: Install ldproxy and espup
run: cargo binstall ldproxy espup -y
- name: Install esp toolchain
run: espup install
- name: Build
working-directory: ./examples/${{ matrix.example_type }}/${{ matrix.chip }}_ble
run: |
cargo +esp build --release
cargo clean