mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-22 01:16:26 +04:00
build: update toolchain
Signed-off-by: YdrMaster <ydrml@hotmail.com>
This commit is contained in:
parent
dd9ef8c9c5
commit
2d92cd428c
7
.github/workflows/doc-and-test.yml
vendored
7
.github/workflows/doc-and-test.yml
vendored
@ -4,6 +4,7 @@ on: [push]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
rust_toolchain: nightly-2022-08-05
|
||||
|
||||
jobs:
|
||||
build-doc:
|
||||
@ -13,7 +14,7 @@ jobs:
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: nightly-2022-07-20
|
||||
toolchain: ${{ env.rust_toolchain }}
|
||||
components: rust-src, llvm-tools-preview
|
||||
target: riscv64gc-unknown-none-elf
|
||||
- name: Build doc
|
||||
@ -32,7 +33,7 @@ jobs:
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: nightly-2022-07-20
|
||||
toolchain: ${{ env.rust_toolchain }}
|
||||
components: rust-src, llvm-tools-preview
|
||||
target: riscv64gc-unknown-none-elf
|
||||
- uses: actions-rs/install@v0.1
|
||||
@ -66,4 +67,4 @@ jobs:
|
||||
timeout-minutes: 10
|
||||
|
||||
- name: Build for k210
|
||||
run: cd os && make build BOARD=k210
|
||||
run: cd os && make build BOARD=k210
|
||||
|
@ -1,4 +1,5 @@
|
||||
[toolchain]
|
||||
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"]
|
||||
|
Loading…
Reference in New Issue
Block a user