Skip to content

feat: update rmk version #51

feat: update rmk version

feat: update rmk version #51

Workflow file for this run

name: Test rmk-template for esp32
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install expect
run: sudo apt install expect -y
- name: Install cargo-generate
run: cd .. && cargo install cargo-generate
- name: Install ldproxy
run: cd .. && cargo install ldproxy
# - name: Switch to nightly
# run: cd .. && rustup default nightly
# - name: Add targets to nightly
# run: cd .. && rustup target add riscv32imc-unknown-none-elf --toolchain nightly
# - name: Add components to nightly
# run: cd .. && rustup component add rust-src --toolchain nightly
- name: Run expect script
run: cd .. && expect rmk-template/gen_test_projects.sh
- name: Install espup
run: cd .. && cargo install espup
- name: Install esp toolchain
run: cd .. && espup install
- name: Build esp32c3
working-directory: ../esp32c3
run: cargo +esp build --release
- name: Build esp32s3
working-directory: ../esp32s3
run: cargo +esp build --release