mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-25 19:03:35 +04:00
build: update toolchain
Signed-off-by: YdrMaster <ydrml@hotmail.com>
This commit is contained in:
parent
7722003fff
commit
1fef2d7121
5
.github/workflows/doc-and-test.yml
vendored
5
.github/workflows/doc-and-test.yml
vendored
@ -4,6 +4,7 @@ on: [push]
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
rust_toolchain: nightly-2022-08-05
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-doc:
|
build-doc:
|
||||||
@ -13,7 +14,7 @@ jobs:
|
|||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: nightly-2022-07-20
|
toolchain: ${{ env.rust_toolchain }}
|
||||||
components: rust-src, llvm-tools-preview
|
components: rust-src, llvm-tools-preview
|
||||||
target: riscv64gc-unknown-none-elf
|
target: riscv64gc-unknown-none-elf
|
||||||
- name: Build doc
|
- name: Build doc
|
||||||
@ -32,7 +33,7 @@ jobs:
|
|||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: nightly-2022-07-20
|
toolchain: ${{ env.rust_toolchain }}
|
||||||
components: rust-src, llvm-tools-preview
|
components: rust-src, llvm-tools-preview
|
||||||
target: riscv64gc-unknown-none-elf
|
target: riscv64gc-unknown-none-elf
|
||||||
- uses: actions-rs/install@v0.1
|
- uses: actions-rs/install@v0.1
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
[toolchain]
|
[toolchain]
|
||||||
profile = "minimal"
|
profile = "minimal"
|
||||||
channel = "nightly-2022-07-20"
|
# use the nightly version of the last stable toolchain, see <https://forge.rust-lang.org/>
|
||||||
|
channel = "nightly-2022-08-05"
|
||||||
components = ["rust-src", "llvm-tools-preview", "rustfmt", "clippy"]
|
components = ["rust-src", "llvm-tools-preview", "rustfmt", "clippy"]
|
||||||
|
Loading…
Reference in New Issue
Block a user