ci: update RISC-V GCC install.
This commit is contained in:
parent
33f3aa55e5
commit
d8eccebbbc
|
@ -28,9 +28,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
|
wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
|
||||||
python3 litex_setup.py gcc
|
python3 litex_setup.py gcc
|
||||||
ls $PWD/../riscv64-*/bin/
|
sudo mkdir /usr/local/riscv
|
||||||
export PATH=$PATH:$(echo $PWD/../riscv64-*/bin/)
|
sudo cp -r $PWD/../riscv64-*/* /usr/local/riscv
|
||||||
riscv64-unknown-elf-gcc --version
|
|
||||||
|
|
||||||
# Install Project
|
# Install Project
|
||||||
- name: Install Project
|
- name: Install Project
|
||||||
|
@ -38,4 +37,6 @@ jobs:
|
||||||
|
|
||||||
# Test
|
# Test
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: python3 setup.py test
|
run: |
|
||||||
|
export PATH=/usr/local/riscv/bin:$PATH
|
||||||
|
python3 setup.py test
|
||||||
|
|
Loading…
Reference in New Issue