Move where the RISC-V toolchain is installed during the no-std workflow

This commit is contained in:
Luke Parker 2023-11-19 22:45:51 -05:00
parent 797604ad73
commit b37a0db538
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ runs:
with:
toolchain: ${{ inputs.rust-toolchain }}
components: ${{ inputs.rust-components }}
targets: wasm32-unknown-unknown, riscv32imac-unknown-none-elf
targets: wasm32-unknown-unknown
# - name: Cache Rust
# uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43

View file

@ -31,7 +31,7 @@ jobs:
github-token: ${{ inputs.github-token }}
- 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
run: cd tests/no-std && CFLAGS=-I/usr/include cargo build --target riscv32imac-unknown-none-elf