Skip to content

Build Rust project in CI #2

Build Rust project in CI

Build Rust project in CI #2

Workflow file for this run

name: CI Build for ESP32-C3
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
# - name: Setup Rust
# uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# override: true
- name: Rust setup
run: rustup toolchain install stable --profile minimal
# - name: Install Espressif Rust environment
# run: |
# curl -sSL https://raw.githubusercontent.com/espressif/rust-esp/main/install.sh | bash
# source $HOME/export-esp.sh
- name: Build project
run: |
cargo build --release
- name: Test build output
run: |
ls -l target/riscv32imc-unknown-none-elf/release/