Skip to content

Update README.md

Update README.md #61

Workflow file for this run

name: Continuous integration
on:
pull_request:
push:
branches:
- main
jobs:
# build-nightly-xtensa:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Install Rust for Xtensa
# uses: esp-rs/[email protected]
# with:
# default: true
# ldproxy: true
#
# - name: Release build std
# uses: actions-rs/cargo@v1
# with:
# command: build
# args: --release --all-features --examples
build-nightly-risc:
runs-on: ubuntu-latest
env:
RUSTUP_TOOLCHAIN: nightly
steps:
- uses: actions/checkout@v2
- name: Nightly with clippy
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rust-src
- name: Setup | ldproxy
run: cargo install ldproxy
- name: Release build std
uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features --examples --target=riscv32imc-esp-espidf
clippy:
runs-on: ubuntu-latest
env:
RUSTUP_TOOLCHAIN: nightly
steps:
- uses: actions/checkout@v2
- name: Nightly with clippy
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rust-src, clippy
- name: Annotate commit with clippy warnings std
uses: actions-rs/clippy-check@v1
with:
toolchain: nightly
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --examples --target=riscv32imc-esp-espidf
doc:
runs-on: ubuntu-latest
env:
RUSTUP_TOOLCHAIN: nightly
steps:
- uses: actions/checkout@v2
- name: Nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rust-src
- name: Documentation build
uses: actions-rs/cargo@v1
with:
command: doc
args: --target=riscv32imc-esp-espidf