mirror of
https://github.com/esp-rs/esp-idf-hal.git
synced 2025-09-28 12:51:04 +00:00
Temporarily switch to older nightly Rust
This commit is contained in:
parent
3a313d2e2e
commit
e433bf6de1
9
.github/workflows/ci-esp-idf-master.yml
vendored
9
.github/workflows/ci-esp-idf-master.yml
vendored
@ -4,6 +4,9 @@ on:
|
||||
schedule:
|
||||
- cron: '50 5 * * *'
|
||||
|
||||
env:
|
||||
rust_toolchain: nightly-2022-03-23
|
||||
|
||||
jobs:
|
||||
compile:
|
||||
name: Compile
|
||||
@ -14,12 +17,12 @@ jobs:
|
||||
- name: Setup | Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
toolchain: ${{ env.rust_toolchain }}
|
||||
components: rustfmt, clippy
|
||||
- name: Setup | Std
|
||||
run: rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
|
||||
run: rustup component add rust-src --toolchain ${{ env.rust_toolchain }}-x86_64-unknown-linux-gnu
|
||||
- name: Setup | Default to nightly
|
||||
run: rustup default nightly
|
||||
run: rustup default ${{ env.rust_toolchain }}
|
||||
- name: Build | Fmt Check
|
||||
run: cargo fmt -- --check
|
||||
- name: Build | Compile Native ESP-IDF master no_std
|
||||
|
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -8,6 +8,9 @@ on:
|
||||
schedule:
|
||||
- cron: '50 4 * * *'
|
||||
|
||||
env:
|
||||
rust_toolchain: nightly-2022-03-23
|
||||
|
||||
jobs:
|
||||
compile:
|
||||
name: Compile
|
||||
@ -18,12 +21,12 @@ jobs:
|
||||
- name: Setup | Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
toolchain: ${{ env.rust_toolchain }}
|
||||
components: rustfmt, clippy
|
||||
- name: Setup | Std
|
||||
run: rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
|
||||
run: rustup component add rust-src --toolchain ${{ env.rust_toolchain }}-x86_64-unknown-linux-gnu
|
||||
- name: Setup | Default to nightly
|
||||
run: rustup default nightly
|
||||
run: rustup default ${{ env.rust_toolchain }}
|
||||
- name: Build | Fmt Check
|
||||
run: cargo fmt -- --check
|
||||
- name: Build | Clippy
|
||||
|
9
.github/workflows/publish-dry-run.yml
vendored
9
.github/workflows/publish-dry-run.yml
vendored
@ -3,6 +3,9 @@ name: PublishDryRun
|
||||
on:
|
||||
workflow_dispatch
|
||||
|
||||
env:
|
||||
rust_toolchain: nightly-2022-03-23
|
||||
|
||||
jobs:
|
||||
publishdryrun:
|
||||
name: Publish Dry Run
|
||||
@ -13,10 +16,10 @@ jobs:
|
||||
- name: Setup | Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
toolchain: ${{ env.rust_toolchain }}
|
||||
- name: Setup | Std
|
||||
run: rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
|
||||
run: rustup component add rust-src --toolchain ${{ env.rust_toolchain }}-x86_64-unknown-linux-gnu
|
||||
- name: Setup | Default to nightly
|
||||
run: rustup default nightly
|
||||
run: rustup default ${{ env.rust_toolchain }}
|
||||
- name: Build | Publish Dry Run
|
||||
run: export ESP_IDF_TOOLS_INSTALL_DIR=out; export ESP_IDF_SDKCONFIG_DEFAULTS=$(pwd)/.github/configs/sdkconfig.defaults; cargo publish --dry-run --target riscv32imc-esp-espidf -Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort
|
||||
|
11
.github/workflows/publish.yml
vendored
11
.github/workflows/publish.yml
vendored
@ -3,6 +3,9 @@ name: Publish
|
||||
on:
|
||||
workflow_dispatch
|
||||
|
||||
env:
|
||||
rust_toolchain: nightly-2022-03-23
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
name: Publish
|
||||
@ -13,13 +16,11 @@ jobs:
|
||||
- name: Setup | Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
toolchain: ${{ env.rust_toolchain }}
|
||||
- name: Setup | Std
|
||||
run: rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
|
||||
run: rustup component add rust-src --toolchain ${{ env.rust_toolchain }}-x86_64-unknown-linux-gnu
|
||||
- name: Setup | Default to nightly
|
||||
run: rustup default nightly
|
||||
- name: Setup | Default to nightly
|
||||
run: rustup default nightly
|
||||
run: rustup default ${{ env.rust_toolchain }}
|
||||
- name: Login
|
||||
run: cargo login ${{ secrets.crates_io_token }}
|
||||
- name: Build | Publish
|
||||
|
Loading…
x
Reference in New Issue
Block a user