Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Use stable channel in CI #167

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/rust_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: dtolnay/rust-toolchain@v1
with:
target: {{ rust_target }}
toolchain: nightly
toolchain: stable
components: rust-src, rustfmt, clippy
{%- else %}
uses: esp-rs/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ jobs:

# Rust toolchain for RISC-V:
- if: matrix.chip != 'esp32' && matrix.chip != 'esp32s2' && matrix.chip != 'esp32s3'
uses: dtolnay/rust-toolchain@nightly
uses: dtolnay/rust-toolchain@stable
with:
target: riscv32imac-unknown-none-elf
target: riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf
components: clippy,rustfmt,rust-src

- uses: Swatinem/rust-cache@v2
Expand Down
2 changes: 1 addition & 1 deletion pre-script.rhai
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ if mcu in ["esp32", "esp32s2", "esp32s3"] {
variable::set("arch", "riscv");
variable::set("gcc_target", "riscv32-esp-elf");
variable::set("rust_target", `riscv32${extensions}-unknown-none-elf`);
variable::set("toolchain", "nightly");
variable::set("toolchain", "stable");
}

let advanced = variable::get("advanced");
Expand Down