mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 03:59:22 +00:00
Move where the RISC-V toolchain is installed during the no-std workflow
This commit is contained in:
parent
797604ad73
commit
b37a0db538
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ runs:
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ inputs.rust-toolchain }}
|
toolchain: ${{ inputs.rust-toolchain }}
|
||||||
components: ${{ inputs.rust-components }}
|
components: ${{ inputs.rust-components }}
|
||||||
targets: wasm32-unknown-unknown, riscv32imac-unknown-none-elf
|
targets: wasm32-unknown-unknown
|
||||||
|
|
||||||
# - name: Cache Rust
|
# - name: Cache Rust
|
||||||
# uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43
|
# uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43
|
||||||
|
|
2
.github/workflows/no-std.yml
vendored
2
.github/workflows/no-std.yml
vendored
|
@ -31,7 +31,7 @@ jobs:
|
||||||
github-token: ${{ inputs.github-token }}
|
github-token: ${{ inputs.github-token }}
|
||||||
|
|
||||||
- name: Install RISC-V Toolchain
|
- name: Install RISC-V Toolchain
|
||||||
run: sudo apt update && sudo apt install -y gcc-riscv64-unknown-elf gcc-multilib
|
run: sudo apt update && sudo apt install -y gcc-riscv64-unknown-elf gcc-multilib && rustup target add riscv32imac-unknown-none-elf
|
||||||
|
|
||||||
- name: Verify no-std builds
|
- name: Verify no-std builds
|
||||||
run: cd tests/no-std && CFLAGS=-I/usr/include cargo build --target riscv32imac-unknown-none-elf
|
run: cd tests/no-std && CFLAGS=-I/usr/include cargo build --target riscv32imac-unknown-none-elf
|
||||||
|
|
Loading…
Reference in a new issue