CIEspIdfMaster #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CIEspIdfMaster | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '50 5 * * *' | |
env: | |
rust_toolchain: nightly | |
jobs: | |
compile: | |
name: Compile | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup | Checkout | |
uses: actions/checkout@v3 | |
- name: Setup | Rust | |
uses: dtolnay/rust-toolchain@v1 | |
with: | |
toolchain: ${{ env.rust_toolchain }} | |
components: rustfmt, clippy, rust-src | |
- name: Build | Fmt Check | |
run: cargo fmt -- --check | |
- name: Build | Compile Native ESP-IDF master no_std | |
run: export RUSTFLAGS="--cfg espidf_time64"; export ESP_IDF_VERSION=master; export ESP_IDF_SDKCONFIG_DEFAULTS=$(pwd)/.github/configs/sdkconfig.defaults; cargo clean; cargo build --features esp-idf-sys/native --no-default-features --target riscv32imc-esp-espidf -Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort |