Change toolchain from SiFive to xPack

This commit is contained in:
Lup Yuen Lee 2024-10-02 09:34:18 +08:00 committed by GitHub
parent 5d8969e56b
commit 5732778b39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,16 +61,15 @@ jobs:
- name: Install Toolchain
run: |
set -x # Echo commands
wget --no-check-certificate https://static.dev.sifive.com/dev-tools/freedom-tools/v2020.12/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14.tar.gz
tar -xf riscv64-unknown-elf-toolchain*.tar.gz
wget --no-check-certificate https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v13.2.0-2/xpack-riscv-none-elf-gcc-13.2.0-2-linux-x64.tar.gz
tar -xf xpack-riscv-none-elf-gcc-*.tar.gz
- name: Build
run: |
set -x # Echo commands
## Add toolchain to PATH
export PATH=$PATH:$PWD/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14/bin
export PATH=$PATH:$PWD/xpack-riscv-none-elf-gcc-13.2.0-2/bin
cd nuttx/nuttx
## Dump the git hash